mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
12 lines
222 B
Plaintext
12 lines
222 B
Plaintext
|
--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)
|