3v4l.org

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