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         ob_start();

        $return = dump($var1);

        ob_end_clean();



        $this->assertEquals($var1, $return);

    }
<?php         ob_start();

        $return = dump($var1, $var2, $var3);

        ob_end_clean();



        $this->assertEquals([$var1, $var2, $var3], $return);

    }