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: [email protected] 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] [email protected]
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] [email protected]
-Assigned To: +Assigned To: nikic
 [2015-06-20 14:47 UTC] [email protected]
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 31 04:00:01 2025 UTC