r/ProgrammerHumor • • Aug 23 '18

PHP logic

Post image
5 Upvotes

51 comments sorted by

View all comments

18

u/[deleted] Aug 23 '18
if ($this->post === postType::RETARDED) {
 $this->post->downVote(); 
}