2020-05-02 / 5873阅 / 悠然
将函数映射到数组或对象的所有不可迭代的元素。
这类似于array_walk_recursive(),但也作用于对象。
(mixed)
(Required)
The array, object, or scalar.
(callable)
(Required)
The function to map>
(mixed) The value with the callback applied to all non-arrays and non-objects inside it.