Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Return the nesting level of the output buffering mechanism
ob_get_level(): int
    protected function evaluatePath($path$data)

    {

        
$obLevel ob_get_level();



        
ob_start();
    protected function handleViewException(Throwable $e$obLevel)

    {

        while (
ob_get_level() > $obLevel) {

            
ob_end_clean();

        }