Re: hello world == 0 ?
| From: | Richard Davey | Date: | Tue, 09 Mar 2004 14:30:13 +0000 |
| Subject: | Re: hello world == 0 ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179893@lists.php.net to get a copy of this message | ||
Hello test,
Tuesday, March 9, 2004, 2:22:08 PM, you wrote:
t> why is var_dump( 0 == 'hello world') TRUE and not FALSE?
The same reason: intval('hello world') will equal 0.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html