Home
last modified time | relevance | path

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

/PHP-5.5/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));
35 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 Dbug48912.phpt9 extract(func_get_arg(0));
/PHP-5.5/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 long, 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
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-5.5/Zend/
H A Dzend_builtin_functions.c35 static ZEND_FUNCTION(func_get_arg);
246 ZEND_FE(func_get_arg, arginfo_func_get_arg)
407 ZEND_FUNCTION(func_get_arg) in ZEND_FUNCTION() argument

Completed in 39 milliseconds