3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0, $t = -microtime(TRUE); $i < 10000; $i++) { $foo = NULL; $foo = create_function('stdClass $a, $b = 1', ''); } echo $t + microtime(TRUE);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.3.120.0070.01015.23
7.3.110.0090.00915.19
7.3.100.0000.01415.13
7.3.90.0090.00315.31
7.3.80.0130.01015.05
7.3.70.0120.00815.05
7.3.60.0100.00715.13
7.3.50.0120.00414.94
7.3.40.0090.00614.91
7.3.30.0130.00714.86
7.3.20.0130.00316.64
7.3.10.0000.01916.55
7.3.00.0120.00616.63
7.2.240.0060.01215.26
7.2.230.0030.01815.52
7.2.220.0070.01015.42
7.2.210.0030.01515.33
7.2.200.0100.01015.00
7.2.190.0100.00715.21
7.2.180.0060.01315.25
7.2.170.0000.01315.34
7.2.160.0000.01515.40
7.2.150.0000.01416.79
7.2.140.0030.01416.85
7.2.130.0070.00316.76
7.2.120.0110.00716.93
7.2.110.0070.01016.89
7.2.100.0130.00316.77
7.2.90.0090.00616.77
7.2.80.0030.01316.71
7.2.70.0070.01316.87
7.2.60.0060.00616.90
7.2.50.0040.01116.88
7.2.40.0070.01316.93
7.2.30.0070.01116.80
7.2.20.0030.01516.68
7.2.10.0090.01316.98
7.2.00.0090.00917.90
7.1.330.0200.05324.05
7.1.320.0130.05023.82
7.1.310.0130.05423.96
7.1.300.0200.04523.83
7.1.290.0100.05724.00
7.1.280.0070.05624.05
7.1.270.0170.05023.91
7.1.260.0060.05123.79
7.1.250.0130.04324.07
7.1.70.0070.04825.45
7.1.60.0060.04925.75
7.1.50.0170.05325.06
7.1.00.0030.13730.52
7.0.200.0170.03825.17
7.0.140.0030.13030.50
7.0.70.0130.07029.93
7.0.60.0170.11330.05
7.0.50.0070.11030.34
7.0.40.0130.10720.48
7.0.30.0070.11720.43
7.0.20.0000.11720.40
7.0.10.0070.07320.44
7.0.00.0070.12020.58
5.6.280.0170.14330.65
5.6.220.0130.12030.60
5.6.210.0030.13330.62
5.6.200.0130.13030.77
5.6.190.0170.11330.84
5.6.180.0100.11730.89
5.6.170.0170.10330.77
5.6.160.0130.11730.91
5.6.150.0070.13330.93
5.6.140.0070.14030.81
5.6.130.0130.12730.93
5.6.120.0030.14330.93
5.6.110.0100.08730.78
5.6.100.0000.08330.79
5.6.90.0030.08330.78
5.6.80.0070.08330.38
5.6.70.0070.07030.40
5.6.60.0070.06330.28
5.6.50.0030.08730.27
5.6.40.0070.06030.24
5.6.30.0000.11030.27
5.6.20.0030.06330.17
5.6.10.0170.06330.21
5.6.00.0100.08030.38
5.5.360.0100.13730.36
5.5.350.0030.13330.29
5.5.340.0100.13030.52
5.5.330.0070.12730.61
5.5.320.0070.09030.88
5.5.310.0200.12330.59
5.5.300.0130.12330.75
5.5.290.0170.12730.83
5.5.280.0100.13030.57
5.5.270.0170.06730.93
5.5.260.0000.08330.87
5.5.250.0030.06330.50
5.5.240.0070.06030.23
5.5.230.0030.07730.18
5.5.220.0100.09330.04
5.5.210.0070.07329.96
5.5.200.0030.06030.03
5.5.190.0070.08030.15
5.5.180.0070.06330.16
5.5.160.0100.05730.32
5.5.150.0030.06330.26
5.5.140.0030.06030.23
5.5.130.0030.06330.19
5.5.120.0070.06030.28
5.5.110.0070.06030.02
5.5.100.0000.09329.97
5.5.90.0070.08729.80
5.5.80.0070.09329.87
5.5.70.0070.13729.98
5.5.60.0130.11329.84
5.5.50.0130.11329.94
5.5.40.0100.08730.09
5.5.30.0030.11330.18
5.5.20.0100.12330.09
5.5.10.0070.13330.02
5.5.00.0130.13030.08
5.4.450.0070.13028.93
5.4.440.0070.12028.89
5.4.430.0030.08028.89
5.4.420.0000.08029.07
5.4.410.0000.08028.87
5.4.400.0070.07728.79
5.4.390.0070.10028.93
5.4.380.0130.11328.72
5.4.370.0030.07328.74
5.4.360.0070.08328.97
5.4.350.0130.08328.73
5.4.340.0070.06328.62
5.4.320.0030.06028.78
5.4.310.0070.06028.75
5.4.300.0030.06028.74
5.4.290.0000.06328.92
5.4.280.0070.05728.85
5.4.270.0030.06328.83
5.4.260.0030.11028.74
5.4.250.0030.06028.92
5.4.240.0170.06328.66
5.4.230.0100.08028.92
5.4.220.0000.13328.84
5.4.210.0070.09728.92
5.4.200.0070.07028.56
5.4.190.0000.09328.74
5.4.180.0070.10328.60
5.4.170.0100.12328.86
5.4.160.0030.12328.80
5.4.150.0100.07028.76
5.4.140.0000.13326.27
5.4.130.0070.13026.12
5.4.120.0030.12326.18
5.4.110.0130.11326.11
5.4.100.0130.11026.18
5.4.90.0100.12726.11
5.4.80.0070.14026.15
5.4.70.0070.12726.23
5.4.60.0070.11726.19
5.4.50.0230.11726.24
5.4.40.0130.11026.07
5.4.30.0070.12026.25
5.4.20.0000.08026.10
5.4.10.0070.11726.23
5.4.00.0100.12725.75
5.3.290.0100.05728.93
5.3.280.0100.13028.91
5.3.270.0130.13729.00
5.3.260.0070.12028.98
5.3.250.0030.09728.95
5.3.240.0100.12329.05
5.3.230.0170.11729.05
5.3.220.0070.07728.91
5.3.210.0170.11329.02
5.3.200.0130.10328.88
5.3.190.0130.06728.87
5.3.180.0100.10328.88
5.3.170.0030.10028.92
5.3.160.0030.13029.05
5.3.150.0070.12328.90
5.3.140.0030.12329.01
5.3.130.0070.12028.85
5.3.120.0100.08328.84
5.3.110.0100.13329.06
5.3.100.0100.11728.40
5.3.90.0070.14028.38
5.3.80.0100.13328.31
5.3.70.0070.10728.34
5.3.60.0100.12728.29
5.3.50.0100.08328.37
5.3.40.0070.11028.35
5.3.30.0170.07028.31
5.3.20.0070.07028.07
5.3.10.0070.11328.05
5.3.00.0070.12327.97

preferences:
21.12 ms | 406 KiB | 5 Q