Edit report at https://bugs.php.net/bug.php?id=54547&edit=1
ID: 54547
Comment by: kazuo at o-ishi dot jp
Reported by: peter dot ritt at gmx dot net
Summary: wrong equality of string numbers
Status: Closed
Type: Bug
Package: Unknown/Other Function
Operating System: linux
PHP Version: 5.3.6
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
This change has a compatibility problem.
After this change,
"01234" == "1234"
=> TRUE (OK)
but
"09223372036854775808" == "9223372036854775808"
=> FALSE
I think this behavior is not reasonable.
Previous Comments:
------------------------------------------------------------------------
[2012-05-15 07:45:39] [email protected]
Automatic comment on behalf of stas
Revision:
http://git.php.net/?p=php-src.git;a=commit;h=9344bf193c6e35c8706923953f3e63bb01cc05ed
Log: fix bug #54547
------------------------------------------------------------------------
[2012-05-14 18:03:49] [email protected]
Automatic comment on behalf of stas
Revision:
http://git.php.net/?p=php-src.git;a=commit;h=47db8a9aa19f6e17a1018becf9978315c79a1cb0
Log: fix bug #54547
------------------------------------------------------------------------
[2012-05-13 21:51:39] [email protected]
I've added Gustavo's patch to 5.4.
------------------------------------------------------------------------
[2012-05-13 21:48:43] [email protected]
Automatic comment on behalf of stas
Revision:
http://git.php.net/?p=php-src.git;a=commit;h=9344bf193c6e35c8706923953f3e63bb01cc05ed
Log: fix bug #54547
------------------------------------------------------------------------
[2012-04-18 08:23:12] [email protected]
the dot matt dot kantor at gmail dot com: i stand corrected indeed
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=54547
--
Edit this bug report at https://bugs.php.net/bug.php?id=54547&edit=1