blob: 61a66d01477b8414d667aa1316e64081c7865d84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Bug #35106 (nested foreach fails when array variable has a reference)
--FILE--
<?php
$a=array("1","2");
$b=&$a;
foreach($a as $i){
echo $i;
foreach($a as $p);
}
echo "\n";
?>
--EXPECT--
12
|