mirror of
https://github.com/php/php-src.git
synced 2024-12-18 22:41:20 +08:00
12 lines
236 B
PHP
12 lines
236 B
PHP
--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\)
|