Output Control 函数
PHP 手册

ob_get_level

(PHP 4 >= 4.2.0, PHP 5)

ob_get_levelReturn the nesting level of the output buffering mechanism

说明

int ob_get_level ( void )

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.

参见


Output Control 函数
PHP 手册