original_string: public static function toMap(array $array) {
  			$map = new SimpleMap();
  
  			foreach ($array as $k => $v)
  				$map->put($k, $v);
  
  			return $map;
  		}
code: public static function toMap(array $array) {
  			$map = new SimpleMap();
  
  			foreach ($array as $k => $v)
  				$map->put($k, $v);
  
  			return $map;
  		}
code_tokens: public static function toMap ( array $ array ) { $ map = new SimpleMap ( ) ; foreach ( $ array as $ k => $ v ) $ map -> put ( $ k , $ v ) ; return $ map ; }
docstring: Converts a PHP array into a Map.
  
  @see SimpleMap
  
  @param  array  $array the array to convert
  @return Map        	 the map built from the PHP array
docstring_tokens: Converts a PHP array into a Map .