blob: 1520c31ed4f1d044d6205bd5cddd119bda2d4d6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--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
int(-1)
|