ob_get_contents

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return the contents of the output buffer
<?php ob_get_contents(): string|false
<?php         include sprintf('%s/../../resources/views/%s.php', __DIR__, $path);



        $contents = ob_get_contents();



        ob_clean();