Date: 01/26/99
- Next message: timothy: "[PHP-DEV] CVS update: php3"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 1097
Updated by: rasmus
Reported By: eric <email protected>
Status: Closed
Bug Type: Other
Assigned To:
Comments:
You are comparing an integer to a string here. The inetger value of "test" is 0, hence the equality. Try:
if( (string) 0 == "test")
Full Bug description available at: http://ca.php.net/bugs.php3?id=1097
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: timothy: "[PHP-DEV] CVS update: php3"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

