PHP Doku:: Stat persistent handles - function.http-persistent-handles-count.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPHTTP Funktionenhttp_persistent_handles_count

Ein Service von Reinhard Neidl - Webprogrammierung.

HTTP Funktionen

<<http_persistent_handles_clean

http_persistent_handles_ident>>

http_persistent_handles_count

(PECL pecl_http >= 1.5.0)

http_persistent_handles_countStat persistent handles

Beschreibung

object http_persistent_handles_count ( void )

List statistics about persistent handles usage.

Parameter-Liste

Rückgabewerte

Returns persistent handles statistics as stdClass object on successIm Fehlerfall wird FALSE zurückgegeben..

Beispiele

Beispiel #1 A http_persistent_handles_count() example

<?php
print_r
(http_persistent_handles_count());
?>

Das oben gezeigte Beispiel erzeugt folgende Ausgabe:

stdClass Object
(
    [http_request] => Array
        (
            [GLOBAL] => Array
                (
                    [used] => 0
                    [free] => 1
                )

        )

    [http_request_datashare] => Array
        (
            [GLOBAL] => Array
                (
                    [used] => 1
                    [free] => 0
                )

        )

    [http_request_pool] => Array
        (
        )

)

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)