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.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.0.9, 7.0.11 - 7.1.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.