Glossary Term
map_deep()
3 tags
1 category
map_deep() — Maps a function to all non-iterable elements of an array or an object. This is similar to array_walk_recursive() but acts upon objects too.
Inputs: $value (mixed): The array, object, or scalar. $callback (callable): The function to map onto $value.
Returns mixed: The value with the callback applied to all non-arrays and non-objects inside it.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
