Created
September 1, 2011 20:18
-
-
Save roberto-butti/1187148 to your computer and use it in GitHub Desktop.
php joke!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$a = 0; | |
$b = ""; | |
if ($a != $b) { | |
echo "ehy, <$a> and <$b> are different!?!?!?!?!?\n"; | |
} else { | |
echo "ehy, <$a> and <$b> are the same!?!?!?!?!?\n"; | |
} | |
echo "ok, i was joking!\n"; | |
if ($a !== $b) { | |
echo "now, <$a> and <$b> are really different!\n"; | |
} else { | |
echo "now, <$a> and <$b> are really the same!\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment