@- Added array_map() function that applies a callback to the elements

@  of given arrays and returns the result. It can also be used with a
@  null callback to transpose arrays. (Andrei)
This commit is contained in:
Andrei Zmievski 2001-03-19 21:20:02 +00:00
parent 5c7a762249
commit d9aa966a44
3 changed files with 114 additions and 1 deletions

View file

@ -582,6 +582,7 @@ function_entry basic_functions[] = {
PHP_FE(array_diff, NULL)
PHP_FE(array_sum, NULL)
PHP_FE(array_filter, NULL)
PHP_FE(array_map, NULL)
/* aliases from array.c */
PHP_FALIAS(pos, current, first_arg_force_ref)