xref: /php-src/tests/lang/040.phpt (revision a555cc0b)
1--TEST--
2foreach into array
3--FILE--
4<?php
5$a = array(0,1);
6$b[0]=2;
7foreach($a as $b[0]) {
8  echo $b[0]."\n";
9}
10?>
11--EXPECT--
120
131
14