Annotation of embedaddon/php/tests/lang/func_get_arg.002.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: func_get_arg with variable number of args
                      3: --FILE--
                      4: <?php
                      5: 
                      6: function foo($a)
                      7: {
                      8:        $b = func_get_arg(1);
                      9:        var_dump($b);
                     10:        $b++;
                     11:        var_dump(func_get_arg(1));
                     12:        
                     13: }
                     14: foo(2, 3);
                     15: echo "\n";
                     16: ?>
                     17: --EXPECT--
                     18: int(3)
                     19: int(3)

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