Edit report at http://bugs.php.net/bug.php?id=52364&edit=1
ID: 52364 Updated by: [email protected] Reported by: nickle799 at gmail dot com Summary: 0=="*" returns true -Status: Open +Status: Bogus Type: Bug Package: *General Issues Operating System: Debian 5.0 PHP Version: 5.3.2 New Comment: This is expected behaviour, and is well documented across the manual, most notably on the type comparison page at http://au2.php.net/manual/en/types.comparisons.php Not a bug -> closing. Previous Comments: ------------------------------------------------------------------------ [2010-07-16 19:38:05] nickle799 at gmail dot com Description: ------------ I am not sure if this is a feature or a bug, but 0=="*" returns true. Is there a reason for this? Test script: --------------- <?php if(0=="*") echo "This shouldn't echo"; ?> Actual result: -------------- This shouldn't echo ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52364&edit=1
