©
This document uses PHP Chinese website manual Release
(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
.