mirror of
https://github.com/php/php-src.git
synced 2024-10-17 22:42:38 +00:00
12 lines
236 B
Plaintext
12 lines
236 B
Plaintext
|
--TEST--
|
||
|
func_get_args() outside of a function declaration
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
var_dump(func_get_args());
|
||
|
|
||
|
?>
|
||
|
--EXPECTREGEX--
|
||
|
Warning\: func_get_args\(\)\: Called from the global scope - no function context in \S* on line 3
|
||
|
bool\(false\)
|