ALIAS

map()

ShortPHP reference for array_map().

Signature

array_map(?callable $callback, array $array, array ...$arrays): array

Example

map(...);

PHP equivalent

array_map() is the canonical PHP function. ShortPHP provides map() as the convenience alias.

Extension: Core

Official PHP manual ↗

Reference navigation

Previous: last()

Next: merge()

Back to reference