ID:               44999
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ethan dot nelson at ltd dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: windows 2003
 PHP Version:      5.2.6
 New Comment:

see Bug #44990 for explanation


Previous Comments:
------------------------------------------------------------------------

[2008-05-14 21:51:49] ethan dot nelson at ltd dot org

Description:
------------
Right now, 0 compared to any string will prove true.

Reproduce code:
---------------
<?php

if (0 == 'anystring') echo "True";
else echo "False";

?>

Expected result:
----------------
False

Actual result:
--------------
True


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44999&edit=1

Reply via email to