xref: /PHP-8.4/tests/lang/func_num_args.001.phpt (revision f8d79582)
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