dis-bench / src /php /php-src /tests /lang /040.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
131 Bytes
--TEST--
foreach into array
--FILE--
<?php
$a = array(0,1);
$b[0]=2;
foreach($a as $b[0]) {
echo $b[0]."\n";
}
?>
--EXPECT--
0
1