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
 [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

Pull Requests

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 Nov 21 08:01:29 2024 UTC