|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-01-20 18:31 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2016-01-20 18:31 UTC] requinix@php.net
[2016-01-21 08:31 UTC] msw at msw dot cz
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 17:00:02 2025 UTC |
Description: ------------ Run foreach with references on non-existent array index, add this index Test script: --------------- $a = array(); foreach($a['b'] as &$b){;} print_r($a); Expected result: ---------------- Array ( ) Actual result: -------------- Array ( [b] => )