original_string: public static function map(array $arr, \Closure $callback){
  		
  		$ret = array();
  		
  		foreach($arr as $k => $v){
  			$ret[$k] = $callback($v, $k);
  		}
  		
  		return $ret;
  		
  	}
code: public static function map(array $arr, \Closure $callback){
  		
  		$ret = array();
  		
  		foreach($arr as $k => $v){
  			$ret[$k] = $callback($v, $k);
  		}
  		
  		return $ret;
  		
  	}
code_tokens: public static function map ( array $ arr , \ Closure $ callback ) { $ ret = array ( ) ; foreach ( $ arr as $ k => $ v ) { $ ret [ $ k ] = $ callback ( $ v , $ k ) ; } return $ ret ; }
docstring: Traverses an array and generates a new array with the returned values
  which a returned from the callback function
  
  @param array $arr
  @param \Closure $callback
  @return array
docstring_tokens: Traverses an array and generates a new array with the returned values which a returned from the callback function