blob: d56de663c5f99ce73376ab461993b7544636e001 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
func_get_args() outside of a function declaration
--FILE--
<?php
try {
var_dump(func_get_args());
} catch (\Error $e) {
echo $e->getMessage() . \PHP_EOL;
}
?>
--EXPECT--
func_get_args() cannot be called from the global scope
|