|
array_walk_recursiveApply a user function recursively to every member of an array Description
bool array_walk_recursive
( array
&$array
, callable $callback
[, mixed $userdata = NULL
] )
Applies the user-defined Parameters
Return Values
Returns Examples
Example #1 array_walk_recursive example
<?php The 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. |