3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php while (1) { echo time() . '<br>'; ob_flush(); # http://php.net/ob_flush flush(); # http://php.net/flush sleep(1); # http://php.net/sleep }
Output for 5.4.0 - 7.0.3, 7.0.5 - 7.2.0
1442570865<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/TRGYE on line 5 1442570866<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/TRGYE on line 5 1442570867<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/TRGYE on line 5
Process exited with code 137.
Output for 7.0.4
1442570865<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/TRGYE on line 5 1442570866<br> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/TRGYE on line 5
Process exited with code 137.