- Add new test

This commit is contained in:
Marcus Boerger 2005-02-07 15:16:08 +00:00
parent 96610aee08
commit d1fc7ad4d9

15
tests/lang/040.phpt Executable file
View file

@ -0,0 +1,15 @@
--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===