mirror of
https://github.com/php/php-src.git
synced 2024-12-29 19:59:19 +08:00
14 lines
153 B
PHP
14 lines
153 B
PHP
--TEST--
|
|
func_num_args with variable number of args
|
|
--FILE--
|
|
<?php
|
|
|
|
function foo($a)
|
|
{
|
|
var_dump(func_num_args());
|
|
}
|
|
foo(1, 2, 3);
|
|
|
|
?>
|
|
--EXPECT--
|
|
int(3)
|