public static function each(array $arr, \Closure $action){
		foreach($arr as $k => $v){
			$action($v, $k);
		}
	}
public static function each(array $arr, \Closure $action){
		foreach($arr as $k => $v){
			$action($v, $k);
		}
	}
public static function each ( array $ arr , \ Closure $ action ) { foreach ( $ arr as $ k => $ v ) { $ action ( $ v , $ k ) ; } }
Performs an action for each element in the array

@param array $arr
@param \Closure $action Function with two optional parameters: $v value, $k key
Performs an action for each element in the array