(PECL pecl_http >= 0.10.0)
http_request_method_name — Get request method name
$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 или FALSE
в случае возникновения ошибки.