Home
last modified time | relevance | path

Searched refs:func_get_arg (Results 1 – 12 of 12) sorted by relevance

/PHP-7.3/Zend/tests/
H A D002.phpt2 func_get_arg() tests
7 var_dump(func_get_arg(-10));
8 var_dump(func_get_arg(0));
9 var_dump(func_get_arg(1));
13 var_dump(func_get_arg(0));
14 var_dump(func_get_arg(1));
18 var_dump(func_get_arg(0));
19 var_dump(func_get_arg(1));
20 var_dump(func_get_arg(2));
43 var_dump(func_get_arg(0));
[all …]
H A D020.phpt2 func_get_arg() invalid usage
6 var_dump(func_get_arg(1,2,3));
7 var_dump(func_get_arg(1));
8 var_dump(func_get_arg());
11 var_dump(func_get_arg(1));
15 bar(func_get_arg(1));
23 Warning: func_get_arg() expects exactly 1 parameter, 3 given in %s on line %d
26 Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
29 Warning: func_get_arg() expects exactly 1 parameter, 0 given in %s on line %d
32 Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d
H A Dbug70547.phpt9 var_dump(func_get_arg(0));
10 var_dump(func_get_arg(1));
11 var_dump(func_get_arg(2));
12 var_dump(func_get_arg(3));
19 var_dump(func_get_arg(0));
20 var_dump(func_get_arg(1));
21 var_dump(func_get_arg(2));
22 var_dump(func_get_arg(3));
H A Ddynamic_call_006.phpt24 $func = 'func_get_arg';
46 Warning: Cannot call func_get_arg() dynamically in %s on line %d
H A Dbug48912.phpt9 extract(func_get_arg(0));
/PHP-7.3/tests/lang/
H A Dfunc_get_arg_variation.phpt2 func_get_arg test
9 echo func_get_arg();
10 echo func_get_arg(2,2);
11 echo func_get_arg("hello");
12 echo func_get_arg(-1);
13 echo func_get_arg(2);
19 Warning: func_get_arg() expects exactly 1 parameter, 0 given in %s on line %d
21 Warning: func_get_arg() expects exactly 1 parameter, 2 given in %s on line %d
23 Warning: func_get_arg() expects parameter 1 to be int, string given in %s on line %d
25 Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d
[all …]
H A Dfunc_get_arg.002.phpt2 func_get_arg with variable number of args
8 $b = func_get_arg(1);
11 var_dump(func_get_arg(1));
H A Dfunc_get_arg.003.phpt2 func_get_arg outside of a function declaration
6 var_dump (func_get_arg(0));
10 Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d
H A Dfunc_get_arg.004.phpt2 func_get_arg on non-existent arg
8 var_dump(func_get_arg(2));
15 Warning: func_get_arg(): Argument 2 not passed to function in %s on line %d
H A Dfunc_get_arg.001.phpt2 func_get_arg test (PHP7)
9 echo func_get_arg(0);
H A Dfunc_get_arg.005.phpt3 During the call, the original variable is updated. This should not affect func_get_arg().
10 var_dump(func_get_arg(0));
/PHP-7.3/Zend/
H A Dzend_builtin_functions.c33 static ZEND_FUNCTION(func_get_arg);
240 ZEND_FE(func_get_arg, arginfo_func_get_arg)
463 ZEND_FUNCTION(func_get_arg) in ZEND_FUNCTION() argument

Completed in 20 milliseconds