mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
14 lines
131 B
PHP
14 lines
131 B
PHP
--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
|