HTTP Funzioni
PHP Manual

http_request_method_name

(PECL pecl_http >= 0.10.0)

http_request_method_nameGet request method name

Descrizione

string http_request_method_name ( int $method )

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

Elenco dei parametri

method

request method ID

Valori restituiti

Returns the request method name as string on success o FALSE in caso di fallimento.


HTTP Funzioni
PHP Manual