Date: 01/26/99
- Next message: rasmus: "[PHP-DEV] CVS update: php3"
- Previous message: Bug Database: "[PHP-DEV] Bug #1096 Updated: strpos function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: eric <email protected>
Operating system: Solaris 2.5.1
PHP version: 3.0.6
PHP Bug Type: Other
Bug description: (0 == "test") is true?
It appears that there is a problem between comparing 0 and a string.
<?
if (0 == "test")
echo "True";
else
echo "False";
?>
will report that the test is true.
-- 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: rasmus: "[PHP-DEV] CVS update: php3"
- Previous message: Bug Database: "[PHP-DEV] Bug #1096 Updated: strpos function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

