Bug #1097 Updated: (0 ==
| From: | Bug Database | Date: | Tue, 26 Jan 1999 21:23:42 +0000 |
| Subject: | Bug #1097 Updated: (0 == | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3731@lists.php.net to get a copy of this message | ||
ID: 1097
Updated by: rasmus
Reported By: eric@ipass.net
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@lists.php.net
For help: php-dev-help@lists.php.net