HTTP Funkcje
PHP Manual

http_request_method_name

(PECL pecl_http >= 0.10.0)

http_request_method_nameGet request method name

Opis

string http_request_method_name ( int $method )

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

Parametry

method

request method ID

Zwracane wartoĊ›ci

Returns the request method name as string on success lub FALSE w przypadku niepowodzenia.


HTTP Funkcje
PHP Manual