PHP Handbuch
Zurück |  | Weiter

# http_support

(no version information, might be only in CVS)

http_support -- Check built-in HTTP support

## Beschreibung

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.

## Parameter Liste

`feature`

  feature to probe for

## Rückgabewerte

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

## Beispiele

Beispiel 1. A http_support() example

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

Zurück | Zum Anfang | Weiter
http_date | Nach oben | http_match_etag