- ob_start: documentation ( source)
- flush: documentation ( source)
- ob_end_flush: documentation ( source)
- ob_get_level: documentation ( source)
- ob_flush: documentation ( source)
<?php
ob_start();
for ($i = 0; $i<10; $i++){
echo "<br> Line to show.";
ob_flush();
flush();
echo ob_get_level();
}
echo ob_get_level();
echo "Done.";
ob_end_flush();