Annotation of embedaddon/php/Zend/tests/bug35106.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #35106 (nested foreach fails when array variable has a reference)
                      3: --FILE--
                      4: <?php
                      5: $a=array("1","2");
                      6: $b=&$a;
                      7: foreach($a as $i){
                      8:     echo $i;
                      9:     foreach($a as $p);
                     10: }
                     11: echo "\n";
                     12: ?>
                     13: --EXPECT--
                     14: 12

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>