3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ob_start(); for ($i = 0; $i<10; $i++){ echo "<br> Line to show."; ob_flush(); flush(); } echo "Done."; ob_end_flush();
Output for 4.3.0 - 7.2.0
<br> Line to show.<br> Line to show.<br> Line to show.<br> Line to show.<br> Line to show.<br> Line to show.<br> Line to show.<br> Line to show.<br> Line to show.<br> Line to show.Done.