php man page for http_support

Query: http_support

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
cpan::meta::feature(3) - mojave
feature(3perl) - debian
curl_version(3) - php
ace::sequence::feature(3pm) - debian
feature5.12(3pm) - osx
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!