Skip to content

Instantly share code, notes, and snippets.

@ollym
Created October 28, 2010 12:09
Show Gist options
  • Save ollym/651215 to your computer and use it in GitHub Desktop.
Save ollym/651215 to your computer and use it in GitHub Desktop.
<?php
$a = 1;
$b = 2;
$c = 3;
$d = $c | $b;
if ($d & $a) {
// This line is reached and it shouldn't be
}
$c = 4;
$d = $c | $b;
if ($d & $a) {
// This line is correctly not reached
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment