Messages Echo Clear PHP

<?php

ob_start();
echo 'a';
print 'b';

// some statement that removes all printed/echoed items
ob_end_clean();

echo 'c';

// the final output is equal to 'c', not 'abc'

?>
// https://stackoverflow.com/questions/1057986/how-to-clear-previously-echoed-items-in-php
ammer