--TEST-- func_get_arg on non-existent arg --FILE-- getMessage() . \PHP_EOL; } } foo(2, 3); ?> --EXPECT-- func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function