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

 ID:                 62579
 Comment by:         a...@php.net
 Reported by:        bugzilla33 at gmail dot com
 Summary:            two strings compare
 Status:             Open
 Type:               Bug
 Package:            Strings related
 Operating System:   win7
 PHP Version:        5.4.5RC1
 Block user comment: N
 Private report:     N

 New Comment:

=== should be used for exact matching.


Previous Comments:
------------------------------------------------------------------------
[2012-07-16 12:21:13] bugzilla33 at gmail dot com

Description:
------------
two strings compare

Test script:
---------------
var_dump('00'=='000')

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

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


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



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

Reply via email to