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

1.1       misho       1: --TEST--
                      2: Bug #23104 (Hash position not reset for constant arrays)
                      3: --FILE--
                      4: <?php
                      5: function foo($bar = array("a", "b", "c"))
                      6: {
                      7:        var_dump(current($bar));
                      8: }
                      9: foo();
                     10: ?>
                     11: --EXPECT--
                     12: string(1) "a"

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