static public function urlToPath($path)
    {
        $path = parse_url($path);
        return $path === null ? null : str_replace('/', DIRECTORY_SEPARATOR, $path['path']);
    }
static public function urlToPath($path)
    {
        $path = parse_url($path);
        return $path === null ? null : str_replace('/', DIRECTORY_SEPARATOR, $path['path']);
    }
static public function urlToPath ( $ path ) { $ path = parse_url ( $ path ) ; return $ path === null ? null : str_replace ( '/' , DIRECTORY_SEPARATOR , $ path [ 'path' ] ) ; }
Convert url to path
@param string $path
@return string
Convert url to path