PHP » PYTHON |
login |
register |
about
|
|
array_walk_recursive(PHP 5) array_walk_recursive — Apply a user function recursively to every member of an array DescriptionApplies the user-defined function funcname to each element of the input array. This function will recur into deeper arrays. Parameters
Return ValuesReturns TRUE on success or FALSE on failure. Examples
Example #1 array_walk_recursive() example
<?phpThe above example will output: a holds apple b holds banana sour holds lemon You may notice that the key 'sweet' is never displayed. Any key that holds an array will not be passed to the function.
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|