php-src/tests/lang/func_get_args.003.phpt

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\)