Possible Duplicate:
PHP - Get bool to echo false when false
Given the following test.php:
<?php
echo TRUE . "\n"; // prints "1\n"
echo FALSE . "\n"; // prints "\n"
?>
Why doesn't php -f test.php
print TRUE
or FALSE
? More importantly, in the FALSE
case, why doesn't it print anything?