3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = str_repeat('x', 100); $string2 = str_repeat('y', 100); $string3 = str_repeat('z', 100); $mark = microtime(true); for($i = 0; $i < 2000; $i++) { ob_start(); for($j = 0; $j < 2000; $j++) echo $string1, $string2, $string3; ob_get_clean(); } echo microtime(true) - $mark;
Output for 7.4.0
0.79548001289368
Output for 7.3.12
0.80764603614807
Output for 7.3.11
0.78673791885376
Output for 7.3.10
0.76057100296021
Output for 7.3.9
0.55779814720154
Output for 7.3.8
0.75910496711731
Output for 7.3.7
0.69511198997498
Output for 7.3.6
0.73430395126343
Output for 7.3.5
0.69614291191101
Output for 7.3.4
0.6469829082489
Output for 7.3.3
0.58426904678345
Output for 7.3.2
0.56744718551636
Output for 7.3.1
0.6592378616333
Output for 7.3.0
0.61012697219849
Output for 7.2.25
0.82889103889465
Output for 7.2.24
0.63882780075073
Output for 7.2.23
0.62331700325012
Output for 7.2.22
0.75764584541321
Output for 7.2.21
0.69858598709106
Output for 7.2.20
0.70716285705566
Output for 7.2.19
0.7644670009613
Output for 7.2.18
0.7154860496521
Output for 7.2.17
0.70550012588501
Output for 7.2.0
0.38722896575928
Output for 7.1.33
0.72323703765869
Output for 7.1.32
0.68490791320801
Output for 7.1.31
0.82447791099548
Output for 7.1.30
0.70158290863037
Output for 7.1.29
0.6916811466217
Output for 7.1.28
0.83977603912354
Output for 7.1.27
0.81540513038635
Output for 7.1.26
0.70163893699646
Output for 7.1.7
0.37161803245544
Output for 7.1.6
0.40040993690491
Output for 7.1.5
0.53658294677734
Output for 7.1.0
-0.49107599258423
Output for 7.0.20
0.37170791625977
Output for 7.0.6
0.46132898330688
Output for 7.0.5
0.4962329864502
Output for 7.0.4
0.45149183273315
Output for 7.0.3
0.51324200630188
Output for 7.0.2
0.47142505645752
Output for 7.0.1
0.42168688774109
Output for 7.0.0
0.46509790420532
Output for 5.6.28
1.0732409954071
Output for 5.6.21
1.021849155426
Output for 5.6.20
1.0328388214111
Output for 5.6.19
1.0467479228973
Output for 5.6.18
1.011214017868
Output for 5.6.17
1.0477271080017
Output for 5.6.16
0.98168897628784
Output for 5.6.15
1.0699410438538
Output for 5.6.14
1.0234680175781
Output for 5.6.13
1.0082249641418
Output for 5.6.12
1.070720911026
Output for 5.6.11
1.0292620658875
Output for 5.6.10
1.0420269966125
Output for 5.6.9
1.0189001560211
Output for 5.6.8
1.0619819164276
Output for 5.6.7
0.88686800003052
Output for 5.5.35
1.0093619823456
Output for 5.5.34
1.2230761051178
Output for 5.5.33
0.98727989196777
Output for 5.5.32
0.60593605041504
Output for 5.5.31
1.1825699806213
Output for 5.5.30
1.0807049274445
Output for 5.5.29
1.0665390491486
Output for 5.5.28
1.0742430686951
Output for 5.5.27
1.2787699699402
Output for 5.5.26
1.0033318996429
Output for 5.5.25
1.0222291946411
Output for 5.5.24
1.0674960613251
Output for 5.4.45
1.0162689685822
Output for 5.4.44
0.98856496810913
Output for 5.4.43
1.2478010654449
Output for 5.4.42
2.2276408672333
Output for 5.4.41
2.2869601249695
Output for 5.4.5 - 5.4.20, 5.4.22 - 5.4.31, 5.4.34 - 5.4.40

Process exited with code 137.
Output for 5.4.32
1.9439568519592
Output for 5.4.21
2.1874980926514
Output for 5.4.4
1.1002490520477
Output for 5.4.3
1.0267419815063
Output for 5.4.2
1.04998087883

preferences:
73.41 ms | 526 KiB | 5 Q