array_keys()
function array_keys(array $array): array
Returns all the keys of an array.
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_keys.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_keys is implemented in the compiler, see the internals page.