array_all()
function array_all(mixed $array, mixed $callback): bool
Returns true when every array element satisfies the predicate callback.
Parameters:
$array(mixed)$callback(mixed)
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): not available inside eval’d code.
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how array_all is implemented in the compiler, see the internals page.