mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
15 lines
153 B
PHP
15 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)
|