array_walk

Example

 bool array_walk ( array &$array , callback $funcname [, mixed $userdata ] ) 

Description

Applies the user-defined function funcname to each element of the array array. array_walk() is not affected by the internal array pointer of array. array_walk() will walk through the entire array regardless of pointer position.

Return Values

Returns TRUE on success or FALSE on failure.