Annotation of embedaddon/php/Zend/tests/bug38808.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #38808 ("maybe ref" issue for current() and others)
        !             3: --FILE--
        !             4: <?php
        !             5: $current = "current";
        !             6: $next = "next";
        !             7: 
        !             8: $b = array(1=>'one', 2=>'two');
        !             9: $a =& $b;
        !            10: 
        !            11: echo $current($a)."\n";
        !            12: $next($a);
        !            13: echo $current($a)."\n";
        !            14: ?>
        !            15: --EXPECT--
        !            16: one
        !            17: two

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