← All docs

array_all()

Returns true when every array element satisfies the predicate callback.

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

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how array_all is implemented in the compiler, see the internals page.