Re: hello world == 0 ?

From: Date: Tue, 09 Mar 2004 14:29:17 +0000
Subject: Re: hello world == 0 ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-179892@lists.php.net to get a copy of this message
many thanx Am Di, 2004-03-09 um 15.27 schrieb Tom Rogers: > Hi, > > Wednesday, March 10, 2004, 12:22:08 AM, you wrote: > t> why is var_dump( 0 == 'hello world') TRUE and not FALSE? > > > because 0 is integer and the integer value of 'hello world' is 0 so > they are equal. http://jessikak.de

« previous php.general (#179892) next »