Edit report at https://bugs.php.net/bug.php?id=18739&edit=1
ID: 18739 User updated by: test at test dot fr Reported by: test at test dot fr Summary: Comparing integer 0 to string 'NULL' Status: Not a bug Type: Bug Package: Variables related Operating System: Linux PHP Version: 4.1.2 Block user comment: N Private report: N New Comment: This is not a bug. Previous Comments: ------------------------------------------------------------------------ [2011-10-03 13:11:40] phpbm at fr dot fr This is not a bug. ------------------------------------------------------------------------ [2002-08-05 04:48:23] san...@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php ------------------------------------------------------------------------ [2002-08-05 04:04:05] test at test dot fr <?php if (0 == 'NULL') { echo "toto"; } ?> It looks as if string 'NULL' matches integer 0. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=18739&edit=1