3v4l.org

run code in 300+ PHP versions simultaneously
,<?php $test_arr['X'][] = array( 'Show/Episode is unpublished, or need to add a correct Show ID to COMPASS SHOW INFO section', 'par_1' => '1', 'par_2' => '2', ); $arr_2 = array(); $arr_2 = array_merge(array(), $test_arr); $arr_2[0][0] = 'NEW'; print_r($arr_2);

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.0170.00318.20
8.3.50.0150.01222.06
8.3.40.0100.00718.58
8.3.30.0070.00719.08
8.3.20.0080.00020.20
8.3.10.0040.00423.39
8.3.00.0040.00419.38
8.2.180.0110.00716.50
8.2.170.0100.00722.96
8.2.160.0180.00020.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00422.06
8.2.110.0000.01020.35
8.2.100.0060.00617.79
8.2.90.0080.00017.84
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0090.00318.05
8.2.50.0100.00018.07
8.2.40.0040.00419.88
8.2.30.0030.00518.06
8.2.20.0040.00417.61
8.2.10.0040.00418.05
8.2.00.0040.00417.73
8.1.280.0110.00425.92
8.1.270.0090.00022.05
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0090.00321.97
8.1.230.0070.00420.89
8.1.220.0050.00317.74
8.1.210.0020.00818.84
8.1.200.0060.00317.10
8.1.190.0050.00317.23
8.1.180.0050.00218.10
8.1.170.0030.00518.59
8.1.160.0040.00421.86
8.1.150.0040.00418.82
8.1.140.0040.00417.35
8.1.130.0030.00317.74
8.1.120.0040.00417.44
8.1.110.0000.00817.38
8.1.100.0000.00717.36
8.1.90.0040.00417.41
8.1.80.0000.00717.49
8.1.70.0030.00317.34
8.1.60.0030.00517.41
8.1.50.0000.00817.46
8.1.40.0040.00417.33
8.1.30.0080.00017.48
8.1.20.0040.00417.48
8.1.10.0080.00017.45
8.1.00.0000.00717.55
8.0.300.0000.00719.92
8.0.290.0040.00416.75
8.0.280.0070.00018.44
8.0.270.0000.00717.30
8.0.260.0000.00617.29
8.0.250.0030.00316.80
8.0.240.0000.00716.76
8.0.230.0070.00016.79
8.0.220.0070.00016.87
8.0.210.0030.00516.72
8.0.200.0030.00316.83
8.0.190.0040.00716.81
8.0.180.0070.00316.86
8.0.170.0040.00416.90
8.0.160.0070.00016.84
8.0.150.0000.00716.81
8.0.140.0050.00316.81
8.0.130.0050.00013.21
8.0.120.0030.00616.77
8.0.110.0000.00716.80
8.0.100.0000.00816.69
8.0.90.0000.00716.88
8.0.80.0060.00916.71
8.0.70.0000.00716.66
8.0.60.0000.00816.76
8.0.50.0070.00016.85
8.0.30.0160.00317.04
8.0.20.0150.00817.40
8.0.10.0040.00417.05
8.0.00.0140.00316.86
7.4.330.0050.00015.00
7.4.320.0060.00016.38
7.4.300.0000.00716.48
7.4.290.0040.00416.42
7.4.280.0090.00016.44
7.4.270.0030.00316.36
7.4.260.0030.00316.51
7.4.250.0040.00416.51
7.4.240.0030.00316.42
7.4.230.0000.00716.64
7.4.220.0090.00916.55
7.4.210.0050.01416.45
7.4.200.0040.00416.56
7.4.160.0150.00016.47
7.4.150.0100.00717.40
7.4.140.0080.01417.86
7.4.130.0110.00916.36
7.4.120.0070.00916.63
7.4.110.0030.01516.35
7.4.100.0120.00516.34
7.4.90.0110.00616.43
7.4.80.0130.00619.39
7.4.70.0150.00416.26
7.4.60.0100.01016.57
7.4.50.0050.00316.39
7.4.40.0090.01216.52
7.4.30.0060.00916.55
7.4.00.0050.01114.95
7.3.330.0060.00013.18
7.3.320.0060.00013.18
7.3.310.0070.00016.20
7.3.300.0000.00716.35
7.3.290.0040.01016.29
7.3.280.0060.00916.23
7.3.270.0100.00617.40
7.3.260.0140.00616.30
7.3.250.0090.00716.29
7.3.240.0160.00616.49
7.3.230.0030.01416.39
7.3.210.0030.01416.32
7.3.200.0070.00619.39
7.3.190.0070.01116.52
7.3.180.0060.00916.34
7.3.170.0030.01816.27
7.3.160.0130.00716.33
7.3.120.0030.01014.67
7.3.110.0040.01114.88
7.3.100.0040.00714.73
7.3.90.0090.00314.52
7.3.80.0000.01514.80
7.3.70.0040.01114.86
7.3.60.0030.01014.84
7.3.50.0040.01114.84
7.3.40.0070.00714.96
7.3.30.0110.00414.73
7.3.20.0070.00316.75
7.3.10.0070.01116.43
7.3.00.0150.00016.50
7.2.330.0140.00716.81
7.2.320.0080.01116.78
7.2.310.0040.01316.48
7.2.300.0110.00516.37
7.2.290.0080.00916.69
7.2.250.0100.01015.30
7.2.240.0160.00315.05
7.2.230.0030.01214.92
7.2.220.0100.00314.87
7.2.210.0040.01115.06
7.2.200.0070.01115.16
7.2.190.0030.00915.29
7.2.180.0100.00314.89
7.2.170.0130.00315.09
7.2.00.0030.01019.20
7.1.330.0070.00715.46
7.1.320.0060.00615.72
7.1.310.0040.01115.87
7.1.300.0040.00715.84
7.1.290.0030.01015.76
7.1.280.0000.00815.73
7.1.270.0000.01315.44
7.1.260.0030.00615.80
7.1.100.0060.00917.73
7.1.70.0060.00916.85
7.1.60.0110.01419.11
7.1.50.0100.01016.93
7.1.00.0030.07322.41
7.0.200.0000.00916.89
7.0.140.0070.07322.00
7.0.60.0130.06020.01
7.0.50.0000.06017.73
7.0.40.0100.07720.02
7.0.30.0230.03720.08
7.0.20.0300.07320.16
7.0.10.0070.08720.26
7.0.00.0100.05320.32
5.6.280.0000.07720.99
5.6.210.0070.07320.49
5.6.200.0070.04018.19
5.6.190.0100.06720.47
5.6.180.0300.05020.63
5.6.170.1370.03720.50
5.6.160.0030.04320.43
5.6.150.0130.06318.14
5.6.140.0070.04318.16
5.6.130.0070.06018.18
5.6.120.0130.04721.00
5.6.110.0100.07020.96
5.6.100.0030.04720.95
5.6.90.0070.10020.94
5.6.80.0200.05720.27
5.5.350.0100.04720.40
5.5.340.0070.08017.98
5.5.330.0030.08720.37
5.5.320.0230.03720.23
5.5.310.0230.03720.29
5.5.300.0130.07018.02
5.5.290.0130.07317.96
5.5.280.0100.07320.84
5.5.270.0100.05320.75
5.5.260.0000.06020.71
5.5.250.0070.08020.79
5.5.240.0230.07020.03
5.4.450.0170.06719.38
5.4.440.0170.05719.12
5.4.430.0170.05719.60
5.4.420.0630.00019.36
5.4.410.0630.00019.41
5.4.400.0630.00019.23
5.4.390.0600.00019.01
5.4.380.0630.00019.21
5.4.370.0630.00019.20
5.4.360.0600.00018.98
5.4.350.0630.00019.11
5.4.340.0040.03711.99
5.4.320.0080.03712.48
5.4.310.0060.03812.48
5.4.300.0070.03412.48
5.4.290.0100.03912.47
5.4.280.0040.03912.37
5.4.270.0070.03812.38
5.4.260.0080.03412.38
5.4.250.0080.03512.38
5.4.240.0080.03912.37
5.4.230.0060.03712.37
5.4.220.0070.03412.36
5.4.210.0060.03512.36
5.4.200.0060.04112.36
5.4.190.0100.03412.36
5.4.180.0050.04412.36
5.4.170.0100.03212.37
5.4.160.0080.03312.37
5.4.150.0080.03212.36
5.4.140.0080.03312.05
5.4.130.0070.03612.04
5.4.120.0080.04011.99
5.4.110.0090.03811.99
5.4.100.0070.03911.99
5.4.90.0080.03511.99
5.4.80.0070.03511.99
5.4.70.0060.03411.99
5.4.60.0100.03311.98
5.4.50.0060.03511.99
5.4.40.0040.03711.98
5.4.30.0050.03511.97
5.4.20.0060.03411.97
5.4.10.0050.03511.97
5.4.00.0060.03611.47
5.3.290.0070.03912.80
5.3.280.0070.03612.71
5.3.270.0090.03812.72
5.3.260.0070.04312.72
5.3.250.0070.04312.72
5.3.240.0090.03512.72
5.3.230.0080.04612.71
5.3.220.0110.04412.68
5.3.210.0060.04112.68
5.3.200.0060.04112.68
5.3.190.0070.03912.68
5.3.180.0080.03912.68
5.3.170.0050.03812.67
5.3.160.0110.03812.68
5.3.150.0060.03912.67
5.3.140.0050.04312.66
5.3.130.0080.03512.66
5.3.120.0030.04112.66
5.3.110.0060.03912.66
5.3.100.0090.03312.12
5.3.90.0060.03612.09
5.3.80.0070.04212.08
5.3.70.0050.03812.08
5.3.60.0050.04612.06
5.3.50.0060.03912.01
5.3.40.0070.04012.01
5.3.30.0070.03411.97
5.3.20.0040.03711.75
5.3.10.0060.03511.72
5.3.00.0050.04311.71
5.2.170.0050.0339.20
5.2.160.0050.0319.20
5.2.150.0100.0319.21
5.2.140.0050.0329.20
5.2.130.0040.0349.16
5.2.120.0050.0299.16
5.2.110.0040.0309.17
5.2.100.0060.0299.16
5.2.90.0060.0289.16
5.2.80.0030.0329.16
5.2.70.0080.0289.16
5.2.60.0060.0299.12
5.2.50.0080.0319.09
5.2.40.0040.0309.06
5.2.30.0060.0289.03
5.2.20.0060.0279.03
5.2.10.0040.0298.93
5.2.00.0030.0328.79
5.1.60.0030.0278.06
5.1.50.0060.0238.06
5.1.40.0010.0288.04
5.1.30.0080.0248.39
5.1.20.0070.0268.41
5.1.10.0030.0288.14
5.1.00.0060.0278.14
5.0.50.0050.0246.61
5.0.40.0050.0206.47
5.0.30.0070.0296.29
5.0.20.0030.0256.26
5.0.10.0060.0186.24
5.0.00.0050.0296.23
4.4.90.0040.0144.78
4.4.80.0020.0164.75
4.4.70.0050.0134.75
4.4.60.0010.0174.76
4.4.50.0020.0164.77
4.4.40.0050.0234.71
4.4.30.0020.0174.76
4.4.20.0030.0164.84
4.4.10.0060.0124.85
4.4.00.0030.0284.76
4.3.110.0050.0134.66
4.3.100.0030.0144.66
4.3.90.0010.0164.63
4.3.80.0020.0254.58
4.3.70.0030.0234.63
4.3.60.0060.0124.63
4.3.50.0030.0224.63
4.3.40.0020.0244.54
4.3.30.0000.0183.29
4.3.20.0010.0163.25
4.3.10.0030.0143.22
4.3.00.0030.0208.04

preferences:
37.55 ms | 401 KiB | 5 Q