3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (ob_get_level() == 0) ob_start(); for ($i = 0; $i<10; $i++){ echo "<br> Line to show."; echo str_pad('',4096)."\n"; ob_flush(); flush(); sleep(2); } echo "Done."; ob_end_flush();
Output for 5.2.15 - 5.4.22
<br> Line to show. <br> Line to show.
Process exited with code 137.