3v4l.org

run code in 300+ PHP versions simultaneously
<?php $word = array(0 => "akaka", 1 => "cool value"); $word2 = array(2 => "ewotr", 3=> 'sksks'); var_dump($word + $word2);

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.0100.00318.55
8.3.50.0120.00922.85
8.3.40.0150.00618.68
8.3.30.0090.00618.92
8.3.20.0070.00020.04
8.3.10.0090.00023.39
8.3.00.0080.00019.13
8.2.180.0070.00716.75
8.2.170.0110.00422.96
8.2.160.0170.00020.31
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00020.98
8.2.110.0030.00722.26
8.2.100.0070.00318.03
8.2.90.0080.00019.05
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0000.00817.93
8.2.50.0000.00918.07
8.2.40.0060.00318.03
8.2.30.0070.00018.02
8.2.20.0000.00717.71
8.2.10.0070.00018.02
8.2.00.0040.00417.66
8.1.280.0090.00625.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0030.00723.84
8.1.230.0040.00819.08
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0000.00817.13
8.1.180.0060.00318.10
8.1.170.0050.00318.53
8.1.160.0040.00421.93
8.1.150.0070.00018.85
8.1.140.0000.00817.38
8.1.130.0040.00417.78
8.1.120.0030.00317.28
8.1.110.0040.00417.42
8.1.100.0070.00017.33
8.1.90.0070.00017.41
8.1.80.0040.00417.44
8.1.70.0030.00317.34
8.1.60.0000.00817.39
8.1.50.0040.00417.33
8.1.40.0000.00717.38
8.1.30.0040.00417.48
8.1.20.0050.00317.59
8.1.10.0080.00017.44
8.1.00.0000.00817.39
8.0.300.0050.00318.77
8.0.290.0000.00716.63
8.0.280.0000.00718.37
8.0.270.0050.00317.04
8.0.260.0060.00017.14
8.0.250.0030.00316.95
8.0.240.0030.00516.95
8.0.230.0030.00316.81
8.0.220.0040.00416.71
8.0.210.0030.00316.88
8.0.200.0000.00716.80
8.0.190.0080.00016.91
8.0.180.0000.00916.87
8.0.170.0000.00716.96
8.0.160.0030.00416.82
8.0.150.0080.00016.79
8.0.140.0030.00516.86
8.0.130.0000.00613.32
8.0.120.0080.00016.75
8.0.110.0040.00416.88
8.0.100.0040.00416.84
8.0.90.0040.00416.88
8.0.80.0090.00616.90
8.0.70.0040.00416.73
8.0.60.0040.00416.70
8.0.50.0070.00016.82
8.0.30.0140.00817.03
8.0.20.0090.01217.40
8.0.10.0040.00416.84
8.0.00.0050.01116.62
7.4.330.0030.00315.14
7.4.320.0000.00716.47
7.4.300.0030.00316.52
7.4.290.0080.00016.42
7.4.280.0040.00416.40
7.4.270.0070.00016.45
7.4.260.0030.00916.50
7.4.250.0020.00516.40
7.4.240.0030.00516.40
7.4.230.0070.00016.55
7.4.220.0140.00316.42
7.4.210.0150.00616.46
7.4.200.0000.00716.48
7.4.160.0040.01116.32
7.4.150.0110.00717.40
7.4.140.0080.01317.86
7.4.130.0100.00716.47
7.4.120.0060.01016.20
7.4.110.0100.00716.44
7.4.100.0100.00716.45
7.4.90.0000.01716.48
7.4.80.0120.01219.39
7.4.70.0090.00816.29
7.4.60.0140.00316.41
7.4.50.0040.00416.52
7.4.40.0000.01616.49
7.4.30.0030.01516.59
7.4.00.0070.00714.94
7.3.330.0000.00512.93
7.3.320.0050.00012.98
7.3.310.0070.00016.04
7.3.300.0030.00316.09
7.3.290.0040.01116.22
7.3.280.0090.00616.14
7.3.270.0110.00917.40
7.3.260.0140.00516.55
7.3.250.0090.00916.19
7.3.240.0110.00616.18
7.3.230.0090.01216.45
7.3.210.0160.00316.11
7.3.200.0060.01519.39
7.3.190.0110.01116.53
7.3.180.0080.00816.44
7.3.170.0200.02116.27
7.3.160.0080.01216.14
7.2.330.0090.00916.32
7.2.320.0100.01016.49
7.2.310.0090.00916.24
7.2.300.0100.00716.63
7.2.290.0090.00616.42
7.2.60.0110.00416.50
7.1.200.0040.00715.82
7.1.100.0000.01117.86
7.1.70.0080.00316.77
7.1.60.0130.00319.46
7.1.50.0150.00916.54
7.1.00.0030.07322.44
7.0.200.0000.00816.55
7.0.140.0000.07722.01
7.0.60.0200.05319.91
7.0.50.0070.08317.84
7.0.40.0070.04020.20
7.0.30.0230.04720.23
7.0.20.0200.06720.00
7.0.10.0100.08020.16
7.0.00.0070.06020.08
5.6.280.0000.07720.90
5.6.210.0070.07320.74
5.6.200.0030.04018.12
5.6.190.0170.03320.32
5.6.180.0170.04320.33
5.6.170.0270.05320.61
5.6.160.0100.08020.40
5.6.150.0000.04318.21
5.6.140.0070.08018.12
5.6.130.0070.04718.27
5.6.120.0070.09321.09
5.6.110.0100.08720.98
5.6.100.0170.03721.00
5.6.90.0130.07720.96
5.6.80.0130.07320.34
5.6.70.2300.05320.39
5.5.350.0130.07320.43
5.5.340.0030.04718.02
5.5.330.0030.08720.19
5.5.320.0030.05320.34
5.5.310.0300.07720.17
5.5.300.0130.07317.98
5.5.290.0100.03717.95
5.5.280.0130.05020.73
5.5.270.0170.07020.66
5.5.260.0000.04720.87
5.5.250.0030.04020.54
5.5.240.0330.06320.15
5.4.450.0270.04319.26
5.4.440.0300.04319.56
5.4.430.0170.03719.25
5.4.420.0100.04019.10
5.4.410.0130.04319.33
5.4.400.0170.03318.89
5.4.390.0100.03019.23
5.4.380.0470.05318.76
5.4.370.0400.04718.56
5.4.360.0400.05018.58
5.4.350.0400.05718.66
5.4.340.0330.05718.61
5.4.320.0080.03512.45
5.4.310.0080.03912.45
5.4.300.0070.04312.45
5.4.290.0060.03712.45
5.4.280.0090.04112.35
5.4.270.0080.03612.34
5.4.260.0040.04212.34
5.4.250.0110.03812.35
5.4.240.0060.04112.35
5.4.230.0060.04412.34
5.4.220.0070.04312.34
5.4.210.0060.03812.34
5.4.200.0070.04212.34
5.4.190.0080.03712.33
5.4.180.0070.03712.34
5.4.170.0100.03412.34
5.4.160.0090.03312.34
5.4.150.0070.04012.34
5.4.140.0070.03812.02
5.4.130.0100.04012.01
5.4.120.0130.03811.96
5.4.110.0040.03711.96
5.4.100.0060.04811.96
5.4.90.0090.04011.96
5.4.80.0070.03811.96
5.4.70.0070.03511.96
5.4.60.0070.03411.96
5.4.50.0070.03511.96
5.4.40.0080.04211.95
5.4.30.0110.03211.95
5.4.20.0040.04411.95
5.4.10.0100.03611.95
5.4.00.0100.03611.43
5.3.290.0040.05212.80
5.3.280.0080.03712.70
5.3.270.0120.05212.72
5.3.260.0070.04312.72
5.3.250.0030.04112.72
5.3.240.0080.03912.72
5.3.230.0060.03812.71
5.3.220.0060.03712.68
5.3.210.0100.04612.68
5.3.200.0080.04012.68
5.3.190.0080.04412.67
5.3.180.0050.04312.67
5.3.170.0060.04012.67
5.3.160.0080.04412.68
5.3.150.0060.03812.67
5.3.140.0070.03712.66
5.3.130.0060.03912.66
5.3.120.0060.03812.66
5.3.110.0080.03712.66
5.3.100.0050.03812.12
5.3.90.0060.04112.08
5.3.80.0110.03112.07
5.3.70.0090.03412.08
5.3.60.0110.03512.06
5.3.50.0110.03212.00
5.3.40.0050.03812.00
5.3.30.0100.03111.94
5.3.20.0080.03311.72
5.3.10.0090.03411.69
5.3.00.0080.03811.68
5.2.170.0030.0399.18
5.2.160.0050.0289.18
5.2.150.0040.0309.18
5.2.140.0040.0319.17
5.2.130.0070.0279.14
5.2.120.0060.0279.14
5.2.110.0050.0309.14
5.2.100.0050.0289.14
5.2.90.0060.0279.14
5.2.80.0060.0339.13
5.2.70.0040.0319.13
5.2.60.0060.0299.09
5.2.50.0050.0309.05
5.2.40.0030.0319.02
5.2.30.0030.0329.01
5.2.20.0030.0309.00
5.2.10.0070.0268.92
5.2.00.0080.0268.77
5.1.60.0070.0218.06
5.1.50.0030.0268.05
5.1.40.0060.0238.04
5.1.30.0020.0288.39
5.1.20.0040.0338.41
5.1.10.0100.0228.14
5.1.00.0050.0258.13
5.0.50.0050.0196.61
5.0.40.0050.0186.47
5.0.30.0070.0306.29
5.0.20.0040.0266.26
5.0.10.0050.0196.23
5.0.00.0020.0316.22
4.4.90.0060.0124.77
4.4.80.0030.0154.76
4.4.70.0030.0154.75
4.4.60.0030.0164.76
4.4.50.0020.0204.77
4.4.40.0020.0274.70
4.4.30.0020.0174.76
4.4.20.0040.0144.85
4.4.10.0030.0154.85
4.4.00.0040.0244.76
4.3.110.0040.0154.66
4.3.100.0030.0154.66
4.3.90.0020.0174.63
4.3.80.0040.0244.59
4.3.70.0030.0144.63
4.3.60.0040.0134.63
4.3.50.0020.0164.63
4.3.40.0010.0264.54
4.3.30.0010.0173.29
4.3.20.0040.0193.26
4.3.10.0020.0173.22
4.3.00.0000.02314.87

preferences:
37.6 ms | 401 KiB | 5 Q