PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

http_negotiate_charset> <http_match_request_header
Last updated: Fri, 18 Jul 2008

view this page in

http_support

(PECL pecl_http:0.15.0-1.5.5)

http_support — Check built-in HTTP support

Descrizione

int http_support ([ int $feature = 0 ] )

Check for features that require external libraries.

See the feature support constants table for possible values for the feature argument.

Elenco dei parametri

feature

feature to probe for

Valori restituiti

Returns integer, whether requested feature is supported, or a bitmask with all supported features if feature was omitted.

Esempi

Example #1 A http_support() example

<?php
if (!http_support(HTTP_SUPPORT_REQUESTS)) {
    die(
"Need HTTP request support!\n");
}
?>



add a note add a note User Contributed Notes
http_support
There are no user contributed notes for this page.

http_negotiate_charset> <http_match_request_header
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites