public static function parse_URL($url)
	{
		$params = parse_url($url);
		$params['extras'] = array();
		if (isset($params['query']))
		{
			parse_str($params['query'], $params['extras']);
		}
		return $params;
	}
public static function parse_URL($url)
	{
		$params = parse_url($url);
		$params['extras'] = array();
		if (isset($params['query']))
		{
			parse_str($params['query'], $params['extras']);
		}
		return $params;
	}
public static function parse_URL ( $ url ) { $ params = parse_url ( $ url ) ; $ params [ 'extras' ] = array ( ) ; if ( isset ( $ params [ 'query' ] ) ) { parse_str ( $ params [ 'query' ] , $ params [ 'extras' ] ) ; } return $ params ; }
Parse a URL into an array

@param string $url
@return array
Parse a URL into an array