Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Clean (erase) the contents of the active output buffer and turn it off
<?php ob_end_clean(): bool
<?php         include __DIR__."/../../resources/views/components/$view.php";



        return tap(ob_get_contents(), function () {

            ob_end_clean();

        });

    }
<?php         $this->sendContent();



        ob_end_clean();



        return $this->streamedContent;

    }
<?php     protected function handleViewException(Throwable $e, $obLevel)

    {

        while (ob_get_level() > $obLevel) {

            ob_end_clean();

        }



        throw $e;
<?php         ob_start();

        eval(Str::of($this->compiler->compileString($blade))->remove(['<?php', '?>']));

        $output = ob_get_contents();

        ob_end_clean();



        $this->assertSame($expectedOutput, $output);

    }
<?php         ob_start();

        eval(Str::of($this->compiler->compileString($blade))->remove(['<?php', '?>']));

        $output = ob_get_contents();

        ob_end_clean();



        $this->assertSame($expectedOutput, $output);

    }