|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesadd (last revision 2015-07-27 00:29 UTC by admin at angosso dot net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-07-27 01:05 UTC] requinix@php.net
-Summary: src_server
+Summary: Assigning value to uninitialized byref array
keys changed array order with PHP 7
-Status: Open
+Status: Verified
-Package: Built-in web server
+Package: Scripting Engine problem
-PHP Version: 5.6.11
+PHP Version: 7.0.0
[2015-07-27 01:05 UTC] requinix@php.net
[2015-07-27 01:37 UTC] requinix@php.net
-PHP Version: 7.0.0
+PHP Version: 7.0.0beta2
[2015-07-27 03:12 UTC] laruence@php.net
[2015-07-27 10:01 UTC] nikic@php.net
-Status: Verified
+Status: Not a bug
[2015-07-27 10:01 UTC] nikic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
Description: ------------ The Elements of the code or object properties will be created automatically for the server [dot] in reference and assignment for bug. Test script: --------------- $array = []; $array["a"] =& $array["b"]; $array["b"] = 1; var_dump($array); now results in the array ["a" => 1, "b" => 1], while previously the result was ["b" => 1, "a" => 1]; Expected result: ---------------- /rfc/uniform_variable_syntax /rfc/abstract_syntax_tree Stack trace: #0 file.php(4): foo(42) #1 {main}