3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php header('Content-type:text/html; charset=utf-8'); 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 4.3.0 - 5.1.4, 5.1.6 - 7.1.0
<br> Line to show. <br> Line to show.
Process exited with code 137.
Output for 5.1.5
<br> Line to show.
Process exited with code 137.