3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array_merge(null, [1,23,4])

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)
5.4.290.2930.03719.12
5.4.280.4430.03718.87
5.4.270.3370.03019.20
5.4.260.2730.04019.15
5.4.250.2400.03319.16
5.4.240.2700.03719.00
5.4.230.3030.03719.15
5.4.220.1770.03719.19
5.4.210.2970.03719.16
5.4.200.1470.04019.15
5.4.190.3830.04019.04
5.4.180.3170.03318.96
5.4.170.2800.03719.07
5.4.160.2800.04318.90
5.4.150.3230.03719.11
5.4.140.3700.04016.27
5.4.130.3030.04016.36
5.4.120.3570.03316.21
5.4.110.2630.04716.38
5.4.100.2800.03716.33
5.4.90.2330.03716.36
5.4.80.3470.04316.34
5.4.70.3130.03316.34
5.4.60.2830.04016.36
5.4.50.3370.03316.10
5.4.40.2800.04016.12
5.4.30.3930.03016.12
5.4.20.3870.03316.43
5.4.10.2770.03316.10
5.4.00.4100.05315.88
5.3.280.2900.03714.52
5.3.270.3530.04014.70
5.3.260.3330.03714.39
5.3.250.3500.03714.54
5.3.240.5500.02314.53
5.3.230.3700.04014.53
5.3.220.3570.04314.39
5.3.210.3370.03014.49
5.3.200.2400.04014.46
5.3.190.3500.03314.49
5.3.180.3270.03714.49
5.3.170.3070.03714.51
5.3.160.3800.04014.39
5.3.150.2800.03314.49
5.3.140.4270.04014.44
5.3.130.3570.04314.36
5.3.120.3030.03714.48
5.3.110.4730.04314.47
5.3.100.3330.03014.13
5.3.90.3430.02713.81
5.3.80.2600.04313.94
5.3.70.3030.03713.93
5.3.60.3630.03013.93
5.3.50.3430.03013.92
5.3.40.3100.04013.89
5.3.30.3030.04013.83
5.3.20.2670.03313.62
5.3.10.3130.03713.61
5.3.00.3630.02713.45
5.2.170.2700.02011.04
5.2.160.2830.02310.96
5.2.150.2500.02711.13
5.2.140.3170.03011.13
5.2.130.2870.02311.09
5.2.120.2930.03010.96
5.2.110.2930.02711.18
5.2.100.3230.02311.26
5.2.90.2330.03010.98
5.2.80.2500.02711.08
5.2.70.2370.03010.92
5.2.60.2070.02710.98
5.2.50.2200.03310.90
5.2.40.2400.03010.97
5.2.30.2030.02710.90
5.2.20.2470.02710.94
5.2.10.2800.02710.71
5.2.00.2630.03710.71
5.1.60.2600.03010.04
5.1.50.2570.02710.04
5.1.40.3030.02010.01
5.1.30.2170.03010.42
5.1.20.3000.02310.52
5.1.10.2830.02310.16
5.1.00.3000.02710.07
5.0.50.1300.0208.54
5.0.40.1170.0208.55
5.0.30.1600.0338.17
5.0.20.1100.0238.10
5.0.10.0670.0238.14
5.0.00.1170.0378.29
4.4.90.1130.0175.82
4.4.80.0600.0135.88
4.4.70.1270.0135.80
4.4.60.1200.0205.82
4.4.50.0770.0175.79
4.4.40.0630.0275.84
4.4.30.1500.0205.77
4.4.20.1630.0175.88
4.4.10.1570.0135.83
4.4.00.1800.0235.81
4.3.110.1470.0175.77
4.3.100.1130.0135.76
4.3.90.1400.0175.70
4.3.80.1300.0335.75
4.3.70.0930.0205.75
4.3.60.0070.0375.73
4.3.50.0030.0375.69
4.3.40.0070.0405.79
4.3.30.0070.0305.41
4.3.20.0070.0335.41
4.3.10.0000.0175.41
4.3.00.0100.0275.41

preferences:
142.18 ms | 1394 KiB | 7 Q