3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 1;$i < 5;$i++){ echo $i .'<br />'; flush(); ob_flush(); }
Output for 5.5.0 - 5.6.21, 7.0.0 - 7.1.0
1<br /> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/qCXKl on line 7 2<br /> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/qCXKl on line 7 3<br /> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/qCXKl on line 7 4<br /> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/qCXKl on line 7
Output for 4.3.0 - 5.4.45, hhvm-3.10.0 - 3.12.0
1<br />2<br />3<br />4<br />