PHP function ob_get_level()

Availability in versions: PHP 4.2.0

Return the nesting level of the output buffering mechanism

Parameters

The function has no input parameters.

Return values

int

the level of nested output buffering handlers or zero if output buffering is not active.

Additional resources

Official ob-get-level documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.