HttpRequest
PHP 手册

HttpRequest::getUrl

(PECL pecl_http >= 0.10.0)

HttpRequest::getUrlGet url

说明

public string HttpRequest::getUrl ( void )

Get the previously set request URL.

返回值

Returns the currently set request url as string.


HttpRequest
PHP 手册