ob_get_clean
PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
ob_get_clean - Get current buffer contents and delete current output buffer
Code Examples
Example #1 A simple ob_get_clean example
Result: string(11) "hello world"