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

From: Date: Thu, 15 Jun 2000 15:44:32 +0000
Subject: Re: 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-21436@lists.php.net to get a copy of this message
MS>> So, why does the script MS>> MS>> <?php print "A".( 1 == 1 )."B"; ?> MS>> MS>> print "A1B"? Is this correct: true is 1 and false is a null string? Yes, this is how booleans presently are converted to strings. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#21436) next »