3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = array(); $second = array(1,2,3,4,5); $third = array_merge($first, $second); print_r($third);

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.60.0110.00418.40
8.3.50.0090.00921.93
8.3.40.0110.00718.41
8.3.30.0040.01218.71
8.3.20.0000.00820.09
8.3.10.0080.00023.30
8.3.00.0050.00319.14
8.2.180.0100.00716.50
8.2.170.0100.01022.96
8.2.160.0110.00420.39
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00720.92
8.2.110.0030.00622.20
8.2.100.0070.00417.91
8.2.90.0080.00019.01
8.2.80.0040.00417.97
8.2.70.0080.00317.63
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0050.00319.75
8.2.30.0000.00718.15
8.2.20.0040.00417.71
8.2.10.0030.00518.02
8.2.00.0080.00017.59
8.1.280.0100.00725.92
8.1.270.0080.00023.97
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00323.76
8.1.230.0100.00019.00
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0030.00517.23
8.1.180.0060.00318.10
8.1.170.0030.00618.46
8.1.160.0050.00221.89
8.1.150.0000.00818.61
8.1.140.0000.00717.32
8.1.130.0030.00317.88
8.1.120.0070.00017.37
8.1.110.0040.00417.35
8.1.100.0040.00417.28
8.1.90.0000.00717.39
8.1.80.0080.00017.40
8.1.70.0040.00417.29
8.1.60.0000.00817.50
8.1.50.0040.00417.39
8.1.40.0000.00817.37
8.1.30.0060.00317.54
8.1.20.0030.00617.58
8.1.10.0060.00317.47
8.1.00.0040.00417.38
8.0.300.0070.00318.77
8.0.290.0050.00316.63
8.0.280.0030.00318.44
8.0.270.0000.00717.19
8.0.260.0030.00317.06
8.0.250.0030.00316.91
8.0.240.0000.00816.90
8.0.230.0040.00416.89
8.0.220.0030.00316.82
8.0.210.0000.00716.77
8.0.200.0000.00816.86
8.0.190.0050.00316.89
8.0.180.0040.00416.86
8.0.170.0000.00716.86
8.0.160.0000.00716.81
8.0.150.0000.00816.84
8.0.140.0050.00316.79
8.0.130.0000.00613.24
8.0.120.0000.00816.66
8.0.110.0040.00416.87
8.0.100.0000.00816.59
8.0.90.0070.00016.65
8.0.80.0060.01016.81
8.0.70.0030.00516.82
8.0.60.0030.00316.77
8.0.50.0040.00416.65
8.0.30.0120.00616.92
8.0.20.0120.00817.40
8.0.10.0040.00416.86
8.0.00.0110.00916.60
7.4.330.0050.00015.00
7.4.320.0030.00316.49
7.4.300.0030.00316.34
7.4.290.0040.00416.46
7.4.280.0030.00616.41
7.4.270.0000.00716.57
7.4.260.0040.00416.34
7.4.250.0040.00416.48
7.4.240.0030.00316.53
7.4.230.0030.00316.41
7.4.220.0030.01416.46
7.4.210.0100.00316.33
7.4.200.0030.00316.42
7.4.190.0020.00516.29
7.4.160.0130.00316.34
7.4.150.0100.00717.40
7.4.140.0110.01217.86
7.4.130.0130.00516.52
7.4.120.0110.00716.42
7.4.110.0130.00416.41
7.4.100.0100.01016.39
7.4.90.0100.00716.32
7.4.80.0090.00919.39
7.4.70.0120.00316.46
7.4.60.0060.01016.35
7.4.50.0030.00316.15
7.4.40.0060.01316.24
7.4.30.0120.00316.51
7.4.00.0060.00614.86
7.3.330.0030.00312.92
7.3.320.0030.00412.82
7.3.310.0070.00016.08
7.3.300.0040.00416.12
7.3.290.0120.00316.08
7.3.280.0070.00916.13
7.3.270.0150.00317.40
7.3.260.0130.00516.17
7.3.250.0100.00816.23
7.3.240.0150.00816.48
7.3.230.0150.00416.39
7.3.210.0140.00316.11
7.3.200.0060.00919.39
7.3.190.0130.00316.31
7.3.180.0080.00816.56
7.3.170.0080.00816.56
7.3.160.0100.00716.18
7.3.120.0000.00714.65
7.2.330.0100.00716.32
7.2.320.0100.01016.60
7.2.310.0100.01016.57
7.2.300.0030.01216.37
7.2.290.0140.00816.62
7.2.00.0000.01319.33
7.1.100.0040.00717.86
7.1.70.0000.00717.21
7.1.60.0130.01019.70
7.1.50.0140.01016.80
7.1.00.0000.08022.43
7.0.200.8700.00314.84
7.0.140.0100.06722.00
7.0.60.0000.08719.89
7.0.50.0100.07717.85
7.0.40.0070.09020.09
7.0.30.0570.07320.07
7.0.20.0270.05720.06
7.0.10.0300.07720.07
7.0.00.0030.07320.11
5.6.280.0030.07021.04
5.6.210.0000.07020.51
5.6.200.0030.07718.22
5.6.190.0030.05020.33
5.6.180.3330.04320.30
5.6.170.0300.05320.45
5.6.160.0030.08720.50
5.6.150.0070.04318.14
5.6.140.0030.04718.14
5.6.130.0070.08718.24
5.6.120.0070.08020.97
5.6.110.0100.08020.98
5.6.100.0130.07721.13
5.6.90.0030.09321.11
5.6.80.0130.05320.39
5.6.70.0330.05320.39
5.5.350.0230.07720.39
5.5.340.0030.04017.98
5.5.330.0070.05320.22
5.5.320.0500.07020.40
5.5.310.0330.07320.34
5.5.300.0270.04017.91
5.5.290.0130.07718.13
5.5.280.0070.08320.86
5.5.270.0070.08320.84
5.5.260.0070.05720.76
5.5.250.0030.08020.53
5.5.240.0170.06720.36
5.4.450.0770.05719.38
5.4.440.0130.05319.70
5.4.430.0370.07019.58
5.4.420.0630.00019.56
5.4.410.0030.06318.68
5.4.400.0400.05718.49
5.4.390.0330.04718.61
5.4.380.0130.05318.50
5.4.370.0130.04718.69
5.4.360.0000.04718.78
5.4.350.0140.07612.00
5.4.340.0060.04712.00
5.4.320.0080.03512.48
5.4.310.0100.04212.47
5.4.300.0070.03512.48
5.4.290.0050.04112.48
5.4.280.0070.04812.38
5.4.270.0050.05312.38
5.4.260.0080.05212.37
5.4.250.0100.05212.38
5.4.240.0090.04712.37
5.4.230.0040.04012.37
5.4.220.0050.04012.36
5.4.210.0050.04112.37
5.4.200.0070.03712.37
5.4.190.0060.03612.36
5.4.180.0090.03412.36
5.4.170.0050.03812.38
5.4.160.0120.04412.37
5.4.150.0040.03812.36
5.4.140.0110.03512.05
5.4.130.0080.04112.04
5.4.120.0060.04012.00
5.4.110.0090.05111.99
5.4.100.0060.05011.99
5.4.90.0070.05211.99
5.4.80.0070.05211.99
5.4.70.0060.04811.99
5.4.60.0080.03211.98
5.4.50.0080.04611.99
5.4.40.0020.04011.98
5.4.30.0040.03911.97
5.4.20.0080.03411.97
5.4.10.0090.03511.98
5.4.00.0090.03711.46
5.3.290.0070.04012.80
5.3.280.0070.04012.71
5.3.270.0050.04212.72
5.3.260.0100.03812.72
5.3.250.0080.03612.72
5.3.240.0080.03712.72
5.3.230.0070.03712.70
5.3.220.0030.04112.68
5.3.210.0050.04412.68
5.3.200.0050.03912.68
5.3.190.0050.04112.68
5.3.180.0090.03512.67
5.3.170.0070.04512.67
5.3.160.0060.03712.67
5.3.150.0070.04112.67
5.3.140.0120.04612.66
5.3.130.0110.05612.66
5.3.120.0070.05612.66
5.3.110.0100.03812.66
5.3.100.0070.03712.12
5.3.90.0040.03812.09
5.3.80.0070.03612.07
5.3.70.0080.03412.07
5.3.60.0060.03712.06
5.3.50.0050.03912.01
5.3.40.0070.03712.01
5.3.30.0040.03911.97
5.3.20.0070.03711.75
5.3.10.0050.04011.71
5.3.00.0080.05111.70
5.2.170.0080.0419.20
5.2.160.0040.0449.20
5.2.150.0070.0429.20
5.2.140.0110.0399.20
5.2.130.0050.0439.16
5.2.120.0050.0529.16
5.2.110.0040.0349.17
5.2.100.0060.0309.16
5.2.90.0080.0389.17
5.2.80.0060.0449.16
5.2.70.0060.0479.16
5.2.60.0060.0439.11
5.2.50.0050.0449.08
5.2.40.0150.0609.05
5.2.30.0210.0809.04
5.2.20.0070.0389.03
5.2.10.0080.0538.94
5.2.00.0110.0618.79
5.1.60.0080.0318.07
5.1.50.0060.0428.07
5.1.40.0150.0578.06
5.1.30.0080.0348.41
5.1.20.0090.0548.43
5.1.10.0130.0708.15
5.1.00.0070.0308.15
5.0.50.0050.0306.63
5.0.40.0070.0426.48
5.0.30.0040.0366.30
5.0.20.0020.0296.27
5.0.10.0060.0266.24
5.0.00.0050.0366.24
4.4.90.0050.0154.78
4.4.80.0040.0154.75
4.4.70.0040.0154.75
4.4.60.0070.0124.76
4.4.50.0020.0184.77
4.4.40.0030.0264.71
4.4.30.0020.0174.76
4.4.20.0070.0124.85
4.4.10.0040.0164.85
4.4.00.0050.0244.76
4.3.110.0050.0144.67
4.3.100.0040.0154.66
4.3.90.0040.0144.63
4.3.80.0030.0264.58
4.3.70.0040.0144.63
4.3.60.0020.0164.63
4.3.50.0040.0154.63
4.3.40.0010.0274.53
4.3.30.0030.0173.29
4.3.20.0030.0163.27
4.3.10.0020.0173.22
4.3.00.0130.0206.52

preferences:
44.71 ms | 400 KiB | 5 Q