ALIAS

filter()

ShortPHP reference for array_filter().

Signature

array_filter(array $array, ?callable $callback = null, int $mode = 0): array

Example

filter(...);

PHP equivalent

array_filter() is the canonical PHP function. ShortPHP provides filter() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: column()

Next: first()

Back to reference