Re: if("NANC" < 0) - always evaluates TRUE...
| From: | Thorsten Schmidt | Date: | Tue, 06 Jan 2004 19:40:44 +0000 |
| Subject: | Re: if("NANC" < 0) - always evaluates TRUE... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173893@lists.php.net to get a copy of this message | ||
Ivo Pletikosic wrote:
...no matter what follows the NANC...seems like a bug. if("NA" < 0) { print("err 1\n"); } if("NAN" < 0) { print("err 2\n"); } if("NANC" < 0) { print("err 3\n"); } if("NANCY" < 0) { print("err 4\n"); } // output err 3 err 4 Same behaviour here,PHP Version 4.3.4 under Linux debian 2.2.17