xref: /PHP-7.2/tests/lang/func_num_args.001.phpt (revision 17ccbeec)
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)
15