blob: 6931df04e693cb4a97d4c603eec4df9b8df519f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
func_get_arg on non-existent arg
--FILE--
<?php
function foo($a)
{
var_dump(func_get_arg(2));
}
foo(2, 3);
echo "\n";
?>
--EXPECTF--
Warning: func_get_arg(): Argument 2 not passed to function in %s on line %d
bool(false)
|