PHP 4.0 Bug #5061 Updated: false value are not 0
| From: | Bug Database | Date: | Thu, 15 Jun 2000 15:10:34 +0000 |
| Subject: | PHP 4.0 Bug #5061 Updated: false value are not 0 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21431@lists.php.net to get a copy of this message | ||
ID: 5061
User Update by: santini@dsi.unimi.it
Status: Closed
Bug Type: Scripting Engine problem
Description: false value are not 0
So, why does the script
<?php print "A".( 1 == 1 )."B"; ?>
print "A1B"? Is this correct: true is 1 and false is a null string?
Full Bug description available at: http://bugs.php.net/version4/?id=5061