Working notes on Buffer: Clear, ob_end_clean();, Stop, and ob_stop();.
Buffer capturing.
Start.
Ob_start();.
Clear
ob_end_clean();
Returns the content of buffer, as was before clearing.
Stop
ob_stop();
Triggered (buffer dispatch) by return as well.
Updated:
2026 Aug 19

