array_walk_recursive in PHP

Syntax of array_walk_recursive bool array_walk_recursive(array input, string function[, mixed user_data]) Like array_walk(), calls the named function for each element in the array. Unlike that function, if an element’s value is an array, the function is called for each element in that array as well. The function is called with the element’s value, key, and optional … Read more