HTTP Функции
PHP Manual

http_request_method_name

(PECL pecl_http >= 0.10.0)

http_request_method_nameGet request method name

Описание

string http_request_method_name ( int $method )

Get the literal string representation of a standard or registered request method.

Список параметров

method

request method ID

Возвращаемые значения

Returns the request method name as string on success, or FALSE on failure.


HTTP Функции
PHP Manual