php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69892 Different arrays compare indentical due to integer key truncation
Submitted: 2015-06-20 14:29 UTC Modified: 2015-06-20 14:29 UTC
From: nikic@php.net Assigned: nikic (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5.5.26 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
12 + 26 = ?
Subscribe to this entry?

 
 [2015-06-20 14:29 UTC] nikic@php.net
Description:
------------
var_dump([0 => 0] === [0x100000000 => 0]); // bool(true)

on all versions: http://3v4l.org/Sjdf8


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-20 14:29 UTC] nikic@php.net
-Assigned To: +Assigned To: nikic
 [2015-06-20 14:47 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5fe078abba7dc87ecc05fa3b9bf544867e947567
Log: Fixed bug #69892
 [2015-06-20 14:47 UTC] nikic@php.net
-Status: Assigned +Status: Closed
 [2015-06-20 14:51 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5fe078abba7dc87ecc05fa3b9bf544867e947567
Log: Fixed bug #69892
 [2015-06-23 18:04 UTC] ab@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5fe078abba7dc87ecc05fa3b9bf544867e947567
Log: Fixed bug #69892
 [2015-08-02 03:48 UTC] stas@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7fc04937f5ba48e05d311937477ba81b0e07ffa8
Log: Fixed bug #69892
 [2015-08-04 22:23 UTC] stas@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7fc04937f5ba48e05d311937477ba81b0e07ffa8
Log: Fixed bug #69892
 [2015-08-04 22:30 UTC] stas@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7fc04937f5ba48e05d311937477ba81b0e07ffa8
Log: Fixed bug #69892
 [2015-08-05 07:29 UTC] stas@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7fc04937f5ba48e05d311937477ba81b0e07ffa8
Log: Fixed bug #69892
 [2015-08-05 10:12 UTC] ab@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7fc04937f5ba48e05d311937477ba81b0e07ffa8
Log: Fixed bug #69892
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC