Longhorn PHP 2023 - Call for Papers

ob_get_status

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

ob_get_status Obtém a situação dos buffers de saída

Descrição

ob_get_status(bool $ full_status = ?): array
Aviso

Esta função é EXPERIMENTAL. O comportamento desta função, seu nome e documentação poderão mudar sem aviso prévio em futuras versões do PHP. Use por sua conta e risco.

Esta função retorna o estado atual dos buffers de saída. Retorna uma matriz que contém o estado dos buffers ou false em caso de erro.

Veja também ob_get_level().

add a note

User Contributed Notes 1 note

up
5
rmagalhaess at hotmail dot com
5 years ago
The fields inside the array returned by ob_get_status() are:

Array
(
    [name] => default output handler
    [type] => 0
    [flags] => 112
    [level] => 1
    [chunk_size] => 0
    [buffer_size] => 16384
    [buffer_used] => 0
)

These values are filled just after the function ob_start()
To Top