Date: 09/14/00
- Next message: olivier ZILLER: "[PHP-DEV] how to do this with class?"
- Previous message: Murat Güney: "[PHP-DEV] cookies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 6766
Updated by: sniper
Reported By: geoffphillips <email protected>
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
Use === instead of ==.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-14 18:20:17] geoffphillips <email protected>
setup:
standard php4 install from suse linux 6.4 cd edition
bug:
all strings compared for equality with zero, evaluates to true
e.g.
if ("abcd" == 0")
print "hello";
always prints "hello"
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6766
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: olivier ZILLER: "[PHP-DEV] how to do this with class?"
- Previous message: Murat Güney: "[PHP-DEV] cookies"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

