mirror of
https://github.com/php/php-src.git
synced 2024-09-29 22:06:09 +00:00
12 lines
222 B
Plaintext
12 lines
222 B
Plaintext
|
--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)
|