389 B
389 B
+++ title = 'In PHP, false is true!' date = 2011-12-14T00:20:00Z +++
One of the many reasons we all need to move on:
<?php
$test = false;
if ($test == 0) {
$test = 0;
if ($test == "php sucks") {
$test = "php sucks";
if ($test == true) {
print "false == true";
}
}
}
?>
Yes, this actually does what you think it does. Try it!