mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
@- 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:
parent
5c7a762249
commit
d9aa966a44
3 changed files with 114 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue