Edit report at https://bugs.php.net/bug.php?id=65062&edit=1

 ID:                 65062
 Updated by:         a...@php.net
 Reported by:        phoenixsnake at hotmail dot com
 Summary:            == operator problem on 0 and string
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            *General Issues
 Operating System:   Windows 7
 PHP Version:        5.3.26
 Block user comment: N
 Private report:     N

 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

Please read the docs http://php.net/manual/en/language.types.type-juggling.php


Previous Comments:
------------------------------------------------------------------------
[2013-06-19 11:54:24] phoenixsnake at hotmail dot com

Description:
------------
problem occur when compare string with 0

Test script:
---------------
var_dump( 0 == "something" );

Expected result:
----------------
bool(false)

Actual result:
--------------
bool(true)


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



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

Reply via email to