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
Manual
Code Examples

Example #1 A simple ob_get_clean example

Result: string(11) "hello world"
PHP Version:


Function ob_get_clean:

Output Buffering Control Functions

Most used PHP functions