3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($a=1;$a<=10;$a++){ echo"$a<br>"; ob_flush(); flush(); sleep(1); }
Output for 5.3.7 - 5.6.11, 5.6.13 - 5.6.28, 7.0.0 - 7.1.0
1<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/D68GV on line 5 2<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/D68GV on line 5 3<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/D68GV on line 5
Process exited with code 137.
Output for hhvm-3.12.0
1<br>
Process exited with code 137.
Output for hhvm-3.10.0
1<br>2<br>3<br>
Process exited with code 137.
Output for 5.6.12
1<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/D68GV on line 5 2<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/D68GV on line 5
Process exited with code 137.