3v4l.org

run code in 300+ PHP versions simultaneously
<?php header( 'Content-type: text/html; charset=utf-8' ); echo 'Begin ...<br />'; for( $i = 0 ; $i < 10 ; $i++ ) { echo $i . '<br />'; flush(); ob_flush(); sleep(1); } echo 'End ...<br />';
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Begin ...<br />0<br /> Notice: ob_flush(): Failed to flush buffer. No buffer to flush in /in/W9Gv5 on line 8 1<br /> Notice: ob_flush(): Failed to flush buffer. No buffer to flush in /in/W9Gv5 on line 8 2<br /> Notice: ob_flush(): Failed to flush buffer. No buffer to flush in /in/W9Gv5 on line 8
Process exited with code 137.
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.27, 7.1.0 - 7.1.14, 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.3 - 7.4.33
Begin ...<br />0<br /> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/W9Gv5 on line 8 1<br /> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/W9Gv5 on line 8 2<br /> Notice: ob_flush(): failed to flush buffer. No buffer to flush in /in/W9Gv5 on line 8
Process exited with code 137.
Output for 7.3.32 - 7.3.33
Begin ...<br />0<br />1<br />2<br />
Process exited with code 137.

preferences:
198.98 ms | 401 KiB | 230 Q