GC_Http::parse_url()
最后更新于:2021-12-01 11:13:47
GC_( string$url)Used as a wrapper for PHP’s parse_url() function that handles edgecases in < PHP 5.4.7.
参数
- $url
-
(string) (Required) The URL to parse.
响应
(bool|array) False on failure; Array of URL components on success; See parse_url()’s return values.
源文件
文件: gc-includes/class-http.php
protected static function parse_url( $url ) {
_deprecated_function( __METHOD__, '4.4.0', 'gc_parse_url()' );
return gc_parse_url( $url );
}