xref: /php-src/Zend/tests/gh11171.phpt (revision dc20cd9c)
1--TEST--
2GH-11171: Test
3--FILE--
4<?php
5$all = ['test'];
6foreach ($all as &$item) {
7    $all += [$item];
8}
9var_dump($all);
10?>
11--EXPECT--
12array(1) {
13  [0]=>
14  &string(4) "test"
15}
16