Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (15 sloc) 153 Bytes
--TEST--
foreach into array
--FILE--
<?php
$a = array(0,1);
$b[0]=2;
foreach($a as $b[0]) {
echo $b[0]."\n";
}
?>
===DONE===
--EXPECT--
0
1
===DONE===
Something went wrong with that request. Please try again.