Annotation of embedaddon/php/tests/lang/func_get_args.002.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: func_get_args with variable number of args
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: function foo($a)
        !             7: {
        !             8:        var_dump(func_get_args());      
        !             9: }
        !            10: foo(1, 2, 3);
        !            11: 
        !            12: ?>
        !            13: --EXPECT--
        !            14: array(3) {
        !            15:   [0]=>
        !            16:   int(1)
        !            17:   [1]=>
        !            18:   int(2)
        !            19:   [2]=>
        !            20:   int(3)
        !            21: }
        !            22: 

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