Bug #62579 [Com]: two strings compare
| From: | ab@php.net | Date: | Mon, 16 Jul 2012 12:36:16 +0000 |
| Subject: | Bug #62579 [Com]: two strings compare | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171998@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62579&edit=1
ID: 62579
Comment by: ab@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