xref: /PHP-7.4/tests/lang/func_get_arg.001.phpt (revision e5eb9530)
1--TEST--
2func_get_arg test (PHP7)
3--FILE--
4<?php
5
6function foo($a)
7{
8   $a=5;
9   echo func_get_arg(0);
10}
11foo(2);
12echo "\n";
13?>
14--EXPECT--
155
16