3v4l.org

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