2008-11-28 10:42:21 +00:00
|
|
|
--TEST--
|
|
|
|
func_num_args() outside of a function declaration
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
|
|
|
|
var_dump(func_num_args());
|
|
|
|
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
|
|
|
|
|
|
|
Warning: func_num_args(): Called from the global scope - no function context in %s on line %d
|
2014-12-14 18:20:23 +00:00
|
|
|
int(-1)
|