ob_end_clean
reactphp/socket
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