http_request_method_exists

(PECL)

http_request_method_exists -- Check whether request method exists

Description

int http_request_method_exists ( mixed method )

Check if a request method is registered (or available by default).

Parameters

method

request method name or ID

Return Values

Returns TRUE if the request method is known, else FALSE.


Follow phpf1 on Twitter




F1 Site Family
AJAX F1
HTML F1
Java F1
JavaScript F1
PHP F1

Total time: 0.3085