func_get_arg()
function func_get_arg(int $position): mixed
Returns one argument from the current function call.
Parameters:
$position(int)
Returns: mixed
Availability
- Compiled (AOT): supported through the Elephc compiler.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/func_get_arg.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how func_get_arg is implemented in the compiler, see the internals page.