php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69893 Strict comparison between integer and empty string keys crashes
Submitted: 2015-06-20 15:05 UTC Modified: 2015-06-20 15:06 UTC
From: nikic@php.net Assigned: nikic (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 7.0Git-2015-06-20 (Git) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nikic@php.net
New email:
PHP Version: OS:

 

 [2015-06-20 15:05 UTC] nikic@php.net
Description:
------------
var_dump([0 => 0] === ["" => 0]); // segfault

This problem does not exist on 5.x.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-20 15:06 UTC] nikic@php.net
-Assigned To: +Assigned To: nikic
 [2015-06-20 15:37 UTC] nikic@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5bf7a3aac758dc57ce11e6000cbd00dabe0e0c68
Log: Fixed bug #69893
 [2015-06-20 15:37 UTC] nikic@php.net
-Status: Assigned +Status: Closed
 [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=5bf7a3aac758dc57ce11e6000cbd00dabe0e0c68
Log: Fixed bug #69893
 [2016-07-20 11:38 UTC] davey@php.net
Automatic comment on behalf of nikic
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5bf7a3aac758dc57ce11e6000cbd00dabe0e0c68
Log: Fixed bug #69893
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Mar 31 07:01:29 2025 UTC