3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y = array('one', 'two', 'three') + array('four', 'five', 'six'); var_dump($y);

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)
8.3.40.0040.01118.72
8.3.30.0140.00020.22
8.3.20.0080.00020.45
8.3.10.0040.00420.96
8.3.00.0000.00723.41
8.2.170.0070.00722.96
8.2.160.0070.00720.43
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.04
8.2.110.0100.00019.25
8.2.100.0040.00717.72
8.2.90.0040.00419.09
8.2.80.0000.00817.97
8.2.70.0000.00917.38
8.2.60.0080.00418.04
8.2.50.0040.00418.07
8.2.40.0040.00418.02
8.2.30.0060.00319.34
8.2.20.0000.00817.58
8.2.10.0080.00017.54
8.2.00.0060.00317.70
8.1.270.0030.00523.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00320.55
8.1.230.0030.00820.88
8.1.220.0000.00818.77
8.1.210.0090.00318.99
8.1.200.0030.00716.98
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0000.00818.46
8.1.160.0000.00718.72
8.1.150.0000.00718.61
8.1.140.0040.00417.24
8.1.130.0080.00017.87
8.1.120.0040.00417.43
8.1.110.0070.00017.23
8.1.100.0030.00617.28
8.1.90.0000.00817.39
8.1.80.0050.00317.26
8.1.70.0070.00017.39
8.1.60.0030.00617.52
8.1.50.0050.00317.28
8.1.40.0030.00517.34
8.1.30.0020.00517.57
8.1.20.0050.00317.57
8.1.10.0050.00217.39
8.1.00.0060.00317.41
8.0.300.0070.00019.88
8.0.290.0000.00717.18
8.0.280.0000.00718.38
8.0.270.0030.00317.14
8.0.260.0070.00016.70
8.0.250.0080.00016.96
8.0.240.0000.00716.84
8.0.230.0070.00016.92
8.0.220.0000.00716.94
8.0.210.0030.00316.90
8.0.200.0030.00316.83
8.0.190.0000.00716.98
8.0.180.0070.00016.97
8.0.170.0000.00816.92
8.0.160.0050.00216.83
8.0.150.0070.00016.87
8.0.140.0000.00716.88
8.0.130.0060.00013.29
8.0.120.0080.00016.77
8.0.110.0040.00416.88
8.0.100.0000.00816.71
8.0.90.0040.00416.89
8.0.80.0070.00716.86
8.0.70.0040.00416.84
8.0.60.0000.00816.86
8.0.50.0000.00716.86
8.0.30.0090.01016.91
8.0.20.0050.01417.40
8.0.10.0000.00817.03
8.0.00.0100.01116.64
7.4.330.0020.00215.04
7.4.320.0000.00716.47
7.4.300.0050.00216.43
7.4.290.0000.00716.41
7.4.280.0000.00716.38
7.4.270.0050.00316.42
7.4.260.0000.00513.15
7.4.250.0040.00416.49
7.4.240.0000.00816.53
7.4.230.0070.00016.53
7.4.220.0160.00316.61
7.4.210.0070.01016.49
7.4.200.0070.00016.17
7.4.190.0070.00016.33
7.4.160.0120.00916.59
7.4.150.0090.00917.40
7.4.140.0100.00717.86
7.4.130.0090.00816.46
7.4.120.0120.00516.42
7.4.110.0060.01316.44
7.4.100.0070.01016.30
7.4.90.0100.01316.49
7.4.80.0070.01119.39
7.4.70.0080.00816.26
7.4.60.0120.00316.27
7.4.50.0030.00616.46
7.4.40.0040.01222.77
7.4.30.0120.00616.22
7.4.00.0080.00814.71
7.3.330.0000.00613.00
7.3.320.0050.00013.06
7.3.310.0070.00015.96
7.3.300.0000.00716.11
7.3.290.0070.00716.13
7.3.280.0060.01016.11
7.3.270.0100.01017.40
7.3.260.0130.00818.24
7.3.250.0060.01216.27
7.3.240.0130.00316.20
7.3.230.0040.01516.39
7.3.210.0110.00616.47
7.3.200.0120.00819.39
7.3.190.0070.00816.47
7.3.180.0140.00716.12
7.3.170.0030.01216.27
7.3.160.0090.00916.39
7.3.120.0120.00314.62
7.2.330.0180.00416.46
7.2.320.0100.00716.39
7.2.310.0160.00916.54
7.2.300.0150.00616.49
7.2.290.0030.01316.54
7.2.00.0090.00919.02
7.1.200.0200.00715.54
7.1.100.0060.00617.96
7.1.70.0100.00016.88
7.1.60.0090.01519.17
7.1.50.0100.01416.98
7.1.00.0070.07022.31
7.0.200.0030.00316.67
7.0.140.0070.06722.04
7.0.100.0030.04719.94
7.0.90.0130.05719.87
7.0.80.0200.08019.95
7.0.70.0030.05720.14
7.0.60.0170.04020.06
7.0.50.0200.06020.22
7.0.40.0100.08320.07
7.0.30.0030.07320.09
7.0.20.0100.07720.12
7.0.10.0130.08020.09
7.0.00.0030.08320.06
5.6.280.0100.06320.82
5.6.250.0130.07020.62
5.6.240.0070.03720.48
5.6.230.0070.06320.68
5.6.220.0030.04320.52
5.6.210.0070.04020.64
5.6.200.0100.03321.07
5.6.190.0000.07721.06
5.6.180.0000.05020.97
5.6.170.0070.08721.03
5.6.160.0000.06021.09
5.6.150.0070.08321.12
5.6.140.0070.08321.09
5.6.130.0000.08721.14
5.6.120.0070.08021.11
5.6.110.0030.04321.01
5.6.100.0000.06721.13
5.6.90.0030.04721.04
5.6.80.0000.08020.41
5.6.70.0100.07320.43
5.6.60.0070.08020.52
5.6.50.0030.05020.41
5.6.40.0070.07020.38
5.6.30.0070.08020.51
5.6.20.0030.08020.35
5.6.10.0030.05720.45
5.6.00.0070.05020.43
5.5.380.0200.03720.45
5.5.370.0070.07320.45
5.5.360.0130.07320.41
5.5.350.0030.08020.45
5.5.340.0100.07720.88
5.5.330.0100.07320.84
5.5.320.0000.04720.89
5.5.310.0200.06320.71
5.5.300.0030.04020.77
5.5.290.0000.08020.90
5.5.280.0100.07720.69
5.5.270.0070.08020.73
5.5.260.0100.06720.85
5.5.250.0000.04020.64
5.5.240.0100.07720.09
5.5.230.0070.05720.12
5.5.220.0000.07720.24
5.5.210.0100.04320.27
5.5.200.0100.03720.11
5.5.190.0070.07720.25
5.5.180.0100.04320.21
5.5.160.0130.04320.19
5.5.150.0070.05320.23
5.5.140.0130.06720.23
5.5.130.0100.06320.20
5.5.120.0070.08020.10
5.5.110.0130.08320.09
5.5.100.0130.07720.09
5.5.90.0100.04720.13
5.5.80.0070.07720.13
5.5.70.0100.06020.12
5.5.60.0100.05320.05
5.5.50.0100.04320.11
5.5.40.0130.08020.03
5.5.30.0030.07020.02
5.5.20.0070.04019.93
5.5.10.0070.07720.01
5.5.00.0100.07020.07
5.4.450.0030.09319.38
5.4.440.0130.07019.44
5.4.430.0070.04019.35
5.4.420.0000.07719.47
5.4.410.0170.03319.22
5.4.400.0100.06319.06
5.4.390.0170.06018.90
5.4.380.0030.07018.81
5.4.370.0000.06318.96
5.4.360.0030.06019.14
5.4.350.0070.08019.16
5.4.340.0130.07019.07
5.4.320.0070.07318.98
5.4.310.0100.03719.04
5.4.300.0130.06718.89
5.4.290.0200.06319.23
5.4.280.0030.05318.96
5.4.270.0100.06019.09
5.4.260.0070.06718.80
5.4.250.0070.07719.09
5.4.240.0100.07318.97
5.4.230.0100.03318.89
5.4.220.0130.05719.07
5.4.210.0200.05718.90
5.4.200.0100.07319.04
5.4.190.0030.05718.97
5.4.180.0100.07719.11
5.4.170.0100.07019.01
5.4.160.0130.05019.09
5.4.150.0070.07019.20
5.4.140.0070.04316.08
5.4.130.0030.03716.16
5.4.120.0130.06315.98
5.4.110.0070.05716.45
5.4.100.0030.05316.21
5.4.90.0230.02316.36
5.4.80.0100.06716.29
5.4.70.0000.05316.36
5.4.60.0030.04016.28
5.4.50.0030.04016.24
5.4.40.0130.07316.23
5.4.30.0070.04016.32
5.4.20.0100.06316.14
5.4.10.0000.04716.29
5.4.00.0070.07015.72
5.3.290.0070.06014.64
5.3.280.0000.05014.60
5.3.270.0000.04714.56
5.3.260.0070.07314.57
5.3.250.0100.07314.43
5.3.240.0170.05714.45
5.3.230.0030.07714.57
5.3.220.0130.05014.54
5.3.210.0030.07714.55
5.3.200.0100.03714.42
5.3.190.0070.05714.42
5.3.180.0070.08014.53
5.3.170.0100.06014.50
5.3.160.0100.04014.57
5.3.150.0030.03714.56
5.3.140.0100.06314.38
5.3.130.0030.05014.45
5.3.120.0130.05314.40
5.3.110.0070.04314.53
5.3.100.0100.04314.00
5.3.90.0070.07313.85
5.3.80.0030.07013.98
5.3.70.0000.04714.01
5.3.60.0070.07314.00
5.3.50.0130.04713.92
5.3.40.0100.07013.70
5.3.30.0070.07713.76
5.3.20.0130.05313.68
5.3.10.0030.03713.51
5.3.00.0130.03013.61
5.2.170.0070.03310.93
5.2.160.0070.02711.06
5.2.150.0030.03011.13
5.2.140.0070.07011.19
5.2.130.0030.06711.08
5.2.120.0030.04011.16
5.2.110.0070.04310.89
5.2.100.0030.06311.13
5.2.90.0130.05711.08
5.2.80.0030.05711.16
5.2.70.0030.05711.09
5.2.60.0000.07011.11
5.2.50.0000.04311.03
5.2.40.0030.05710.81
5.2.30.0070.06010.97
5.2.20.0030.04710.80
5.2.10.0000.03010.91
5.2.00.0070.02310.79
5.1.60.0030.0239.82
5.1.50.0000.0379.83
5.1.40.0030.0539.97
5.1.30.0070.04310.34
5.1.20.0000.02710.37
5.1.10.0030.04010.05
5.1.00.0030.03710.05
5.0.50.0000.0238.59
5.0.40.0000.0208.59
5.0.30.0000.0678.59
5.0.20.0000.0438.59
5.0.10.0070.0208.59
5.0.00.0030.0408.59
4.4.90.0070.0278.59
4.4.80.0000.0278.59
4.4.70.0000.0278.59
4.4.60.0000.0208.59
4.4.50.0000.0178.59
4.4.40.0070.0478.59
4.4.30.0000.0138.59
4.4.20.0030.0308.59
4.4.10.0000.0208.59
4.4.00.0000.0278.59
4.3.110.0000.0138.59
4.3.100.0000.0338.59
4.3.90.0030.0238.59
4.3.80.0030.0338.59
4.3.70.0070.0338.59
4.3.60.0070.0308.59
4.3.50.0030.0338.59
4.3.40.0100.0278.59
4.3.30.0030.0178.59
4.3.20.0030.0378.59
4.3.10.0030.0338.59
4.3.00.0000.0278.59

preferences:
46.88 ms | 400 KiB | 5 Q