Return to func_num_args.002.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / lang |
1.1 misho 1: --TEST-- 2: func_num_args with variable number of args 3: --FILE-- 4: <?php 5: 6: function foo($a) 7: { 8: var_dump(func_num_args()); 9: } 10: foo(1, 2, 3); 11: 12: ?> 13: --EXPECT-- 14: int(3)