PHP.nl

ob_get_level

ob_get_level

Return the nesting level of the output buffering mechanism

int **ob_get_level**

Returns the nesting level of the output buffering mechanism.

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

Let op: > The value for identical levels between and is off by one.

For 
the first level is .
Whereas for 
the first level is .

ob_get_level``ob_get_status``ob_get_level``1``ob_get_status``0

ob_start``ob_get_status``ob_get_contents