Re: Found a PHP bug!!!!!!!!!

From: Date: Wed, 29 Jan 2003 14:42:06 +0000
Subject: Re: Found a PHP bug!!!!!!!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133501@lists.php.net to get a copy of this message
--- Alexander Skwar <ASkwar@email-server.info> wrote: > So sprach 1LT John W. Holmes am 2003-01-27 um 15:49:33 > -0500 : > > Actually, "08" is equal to 8 in PHP. PHP will convert > > the string to an > > No, that's not true: > > if ("08" == 8){ echo "equal"; } > if ("08" === 8){ echo "more equal"; } > > This will only print "equal" and not "more equal". Good thing he didn't say they were more equal, right? Chris

« previous php.general (#133501) next »