http_support(3) php man page | unix.com

Man Page: http_support

Operating Environment: php

Section: 3

HTTP_SUPPORT(3) 							 1							   HTTP_SUPPORT(3)

http_support - Check built-in HTTP support

SYNOPSIS
int http_support ([int $feature])
DESCRIPTION
Check for features that require external libraries. See the feature support constants table for possible values for the $feature argument.
PARAMETERS
o $feature - feature to probe for
RETURN VALUES
Returns integer, whether requested feature is supported, or a bitmask with all supported features if $feature was omitted.
EXAMPLES
Example #1 A http_support(3) example <?php if (!http_support(HTTP_SUPPORT_REQUESTS)) { die("Need HTTP request support! "); } ?> PHP Documentation Group HTTP_SUPPORT(3)
Related Man Pages
feature(3perl) - debian
feature(3pm) - suse
tt_feature_enabled(3) - hpux
curl_version(3) - php
feature5.12(3pm) - osx
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch