PHP 4.0 Bug #8495: Bug #6818 continued
| From: | mark at dreamzpace dot com | Date: | Sat, 30 Dec 2000 18:51:06 +0000 |
| Subject: | PHP 4.0 Bug #8495: Bug #6818 continued | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42589@lists.php.net to get a copy of this message | ||
From: mark@dreamzpace.com
Operating system: Linux Redhat 6.1
PHP version: 4.0.4
PHP Bug Type: Variables related
Bug description: Bug #6818 continued
In response to (the closed) bug #6818 (I can't reopen it):
Using === instead of == is not a solution in my opinion:
- it's not compatible with older code (php3)
- it's still a bug: comparing a variable with value 0 with a string should always return
'false', regardless the type.
--
Edit Bug report at: http://bugs.php.net/?id=8495&edit=1