Re: Re: Strange comparison behaviour
| From: | Erwin Kerk | Date: | Fri, 13 May 2005 10:34:58 +0000 |
| Subject: | Re: Re: Strange comparison behaviour | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215129@lists.php.net to get a copy of this message | ||
Bogdan Stancescu wrote:
You probably mis-typed something: [bogdan@myserver ~]$ php <? if ("info" == 0) echo "is 0\n"; else echo "not 0\n"; ?> Content-type: text/html X-Powered-By: PHP/4.3.11 is 0 Tried that, but notice the PHP Version, it is failing in PHP 4.1.2!Erwin Kerk