PHP Velho Oeste 2024

http_persistent_handles_count

(PECL pecl_http >= 1.5.0)

http_persistent_handles_countKalıcı tanıtıcıları durumlar

Açıklama

object http_persistent_handles_count ( void )

Kalıcı tanıtıcıların kullanımı hakkındaki istatistikleri listeler.

Değiştirgeler

Dönen Değerler

Başarı durumunda tanıtıcıların kullanımı hakkındaki istatistikleri bir stdClass nesnesi olarak döndürür, aksi takdirde FALSE döndürür.

Örnekler

Örnek 1 - http_persistent_handles_count() örneği

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

Yukarıdaki örneğin çıktısı:

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
        (
        )

)

Ayrıca Bakınız

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top