if("NANC" < 0) - always evaluates TRUE...
| From: | Ivo Pletikosic | Date: | Tue, 06 Jan 2004 18:57:52 +0000 |
| Subject: | if("NANC" < 0) - always evaluates TRUE... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173882@lists.php.net to get a copy of this message | ||
...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