call_user_func_array()
function call_user_func_array(callable $callback, array $args): mixed
Calls a callback with an array of parameters.
Parameters:
$callback(callable)$args(array)
Returns: mixed
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/call_user_func_array.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how call_user_func_array is implemented in the compiler, see the internals page.