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

From: Date: Tue, 28 Jan 2003 21:45:30 +0000
Subject: Re: Found a PHP bug!!!!!!!!!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-133470@lists.php.net to get a copy of this message
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". Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.biz | Jabber: askwar@a-message.de iso-top.biz - Die günstige Art an Linux Distributionen zu kommen Uptime: 1 day 15 hours 46 minutes

« previous php.general (#133470) next »