ID: 42963 Updated by: [EMAIL PROTECTED] Reported By: webcreator at email dot it -Status: Open +Status: Bogus Bug Type: Variables related Operating System: ubuntu 7.10 PHP Version: 5.2.4 New Comment:
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 . Previous Comments: ------------------------------------------------------------------------ [2007-10-14 19:31:25] webcreator at email dot it Description: ------------ See the code is very simple...the casting for 0 is wrong Reproduce code: --------------- <?php $pino = 0; if($pino == "uno") { echo "sono uguali"; } else { echo "non sono uguali"; } ?> Expected result: ---------------- non sono uguali Actual result: -------------- sono uguali ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42963&edit=1
