Skip to main content

map_array

Discworld driver help

map_array

Name

map_array() - modify an array of elements via application of a function

Synopsis

mixed *map_array( mixed *arr, string fun, object ob,
mixed extra, ... );
mixed *map_array( mixed *arr, function fun, mixed extra, ... );

Description

map_array() is really the same as the map() efun.

See also

map(), filter()