array_values()
function array_values(array $array): array
Returns all the values of an array, re-indexed numerically.
Parameters:
$array(array)
Returns: array
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/array/array_values.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_values is implemented in the compiler, see the internals page.