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