13

If ($shit_hits_fan='true') {
$_GET['vacation'];
} else {
echo 'it was like that when I got here';
}

Comments
  • 2
    why are you checking if $shit_hits_the_fan a string of true? why not just true? cuz when shit really does hit the fan... it's going to be some real shit. #shitgetsreal
  • 1
    Good point, sometimes the shit can hit the fan and only you know about it, it only gets true when 'they' find out.
  • 2
    'true'
  • 1
    Single = means accidental variable assignment during comparison.
    Congrats you've just created one of the most infuriating bugs in PHP.
  • 1
    good catch! yea!!! pull request denied.
  • 1
    = always evals to true lol
Add Comment