mirror of
https://github.com/php/php-src.git
synced 2024-11-29 12:53:37 +08:00
12 lines
222 B
PHP
12 lines
222 B
PHP
--TEST--
|
|
func_get_arg outside of a function declaration
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump (func_get_arg(0));
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
|
|
bool(false)
|