3v4l.org

run code in 200+ 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.3.0 - 7.0.9, 7.0.11 - 7.2.0
<br> Line to show. <br> Line to show.
Process exited with code 137.
Output for 7.0.10
<br> Line to show.
Process exited with code 137.