xref: /PHP-5.4/tests/lang/func_num_args.001.phpt (revision 775389cd)
1--TEST--
2func_num_args with no args
3--FILE--
4<?php
5
6function foo()
7{
8	var_dump(func_num_args());
9}
10foo();
11
12?>
13--EXPECT--
14int(0)