mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
dc20cd9c3a
This reverts commit 84b4020eb4
.
Fixes GH-11171
16 lines
177 B
PHP
16 lines
177 B
PHP
--TEST--
|
|
GH-11171: Test
|
|
--FILE--
|
|
<?php
|
|
$all = ['test'];
|
|
foreach ($all as &$item) {
|
|
$all += [$item];
|
|
}
|
|
var_dump($all);
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
[0]=>
|
|
&string(4) "test"
|
|
}
|