Re: PHP 4.0 Bug #5061 Updated: false value are not 0

From: Date: Thu, 15 Jun 2000 15:07:40 +0000
Subject: Re: PHP 4.0 Bug #5061 Updated: false value are not 0
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21429@lists.php.net to get a copy of this message
> Wrong. True is true, and false is false. If you want number, convert to number. > PHP 3 had no boolean, PHP 4 has. 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? hope this helps...

« previous php.dev (#21429) next »