3v4l.org

run code in 300+ PHP versions simultaneously
,<?php $test_arr[] = 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] = '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.0040.01118.31
8.3.50.0100.00921.14
8.3.40.0140.00718.70
8.3.30.0090.00619.11
8.3.20.0070.00020.07
8.3.10.0080.00023.65
8.3.00.0000.00819.38
8.2.180.0040.01916.38
8.2.170.0000.01522.96
8.2.160.0100.00720.53
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0000.00719.89
8.2.110.0060.00320.38
8.2.100.0130.00017.91
8.2.90.0000.00818.16
8.2.80.0040.00417.97
8.2.70.0000.01017.63
8.2.60.0030.00618.05
8.2.50.0120.00018.07
8.2.40.0000.00820.07
8.2.30.0040.00418.12
8.2.20.0030.00617.52
8.2.10.0000.00718.05
8.2.00.0030.00517.54
8.1.280.0110.00425.92
8.1.270.0040.00422.20
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00022.14
8.1.230.0060.00620.86
8.1.220.0060.00317.74
8.1.210.0030.00518.91
8.1.200.0000.01017.23
8.1.190.0050.00317.22
8.1.180.0000.00818.10
8.1.170.0080.00018.63
8.1.160.0070.00021.84
8.1.150.0030.00518.80
8.1.140.0040.00417.33
8.1.130.0070.00017.77
8.1.120.0000.00817.38
8.1.110.0000.00817.22
8.1.100.0070.00017.35
8.1.90.0070.00317.38
8.1.80.0000.00717.35
8.1.70.0000.00717.26
8.1.60.0000.00817.41
8.1.50.0030.00517.34
8.1.40.0000.00717.32
8.1.30.0030.00617.54
8.1.20.0040.00417.48
8.1.10.0040.00417.58
8.1.00.0040.00417.51
8.0.300.0040.00420.07
8.0.290.0000.00716.63
8.0.280.0030.00318.34
8.0.270.0000.00717.26
8.0.260.0000.00817.29
8.0.250.0030.00316.79
8.0.240.0040.00416.87
8.0.230.0000.00716.84
8.0.220.0000.00616.79
8.0.210.0030.00316.70
8.0.200.0070.00016.81
8.0.190.0030.00816.92
8.0.180.0040.00416.91
8.0.170.0030.00516.89
8.0.160.0000.00716.79
8.0.150.0000.00716.72
8.0.140.0080.00016.77
8.0.130.0030.00313.24
8.0.120.0030.00516.71
8.0.110.0030.00616.65
8.0.100.0040.00416.81
8.0.90.0030.00516.69
8.0.80.0070.01016.81
8.0.70.0040.00416.84
8.0.60.0070.00016.70
8.0.50.0040.00416.71
8.0.30.0040.01717.17
8.0.20.0060.01317.40
8.0.10.0040.00416.96
8.0.00.0100.00816.63
7.4.330.0020.00215.00
7.4.320.0060.00016.54
7.4.300.0030.00316.42
7.4.290.0070.00016.43
7.4.280.0030.00616.51
7.4.270.0000.00716.45
7.4.260.0000.00916.43
7.4.250.0040.00416.38
7.4.240.0070.00016.46
7.4.230.0070.00016.55
7.4.220.0110.00716.57
7.4.210.0090.00616.63
7.4.200.0020.00516.28
7.4.160.0030.01316.27
7.4.150.0140.00417.40
7.4.140.0120.00917.86
7.4.130.0120.00716.44
7.4.120.0090.00716.40
7.4.110.0100.00716.45
7.4.100.0130.00916.44
7.4.90.0140.00716.56
7.4.80.0040.01319.39
7.4.70.0060.00916.52
7.4.60.0080.00816.59
7.4.50.0030.00616.66
7.4.40.0090.01216.24
7.4.30.0040.01416.55
7.4.00.0040.01114.82
7.3.330.0060.00013.17
7.3.320.0050.00013.13
7.3.310.0050.00216.10
7.3.300.0040.00416.25
7.3.290.0070.00916.21
7.3.280.0110.00616.28
7.3.270.0120.00917.40
7.3.260.0090.00916.33
7.3.250.0100.01016.21
7.3.240.0040.02016.39
7.3.230.0090.01216.39
7.3.210.0170.00416.17
7.3.200.0120.01019.39
7.3.190.0120.00616.35
7.3.180.0060.00916.30
7.3.170.0100.00716.32
7.3.160.0030.01816.31
7.2.330.0070.01116.72
7.2.320.0060.01316.70
7.2.310.0070.01616.61
7.2.300.0190.00416.46
7.2.290.0120.00616.75
7.2.00.0080.00419.31
7.1.100.0030.00617.71
7.1.70.0060.00616.94
7.1.60.0000.02419.11
7.1.50.0160.00616.58
7.1.00.0030.07322.40
7.0.200.0030.00716.53
7.0.140.0070.07022.00
7.0.60.0100.07719.87
7.0.50.0100.08017.87
7.0.40.0100.08719.96
7.0.30.0270.06720.19
7.0.20.0270.07720.25
7.0.10.0100.07720.19
7.0.00.0030.09320.12
5.6.280.0000.07320.91
5.6.210.0100.03320.71
5.6.200.0100.08318.19
5.6.190.0030.04320.50
5.6.180.0270.08020.39
5.6.170.0100.05020.43
5.6.160.0000.05720.46
5.6.150.0030.08718.27
5.6.140.0070.08018.21
5.6.130.0030.04018.14
5.6.120.0170.07720.98
5.6.110.0230.06721.11
5.6.100.0170.07321.06
5.6.90.0030.04721.11
5.6.80.0130.07320.37
5.5.350.4100.03720.36
5.5.340.0170.04017.99
5.5.330.0130.08020.07
5.5.320.0330.07720.28
5.5.310.0330.06720.30
5.5.300.0030.05017.97
5.5.290.0000.05717.98
5.5.280.0030.04320.75
5.5.270.0070.06020.79
5.5.260.0030.04020.86
5.5.250.0130.07320.57
5.5.240.0170.06320.34
5.4.450.0800.06019.44
5.4.440.0770.05019.38
5.4.430.1000.07019.16
5.4.420.0830.00019.36
5.4.410.0630.00019.46
5.4.400.0730.00019.33
5.4.390.0670.00019.06
5.4.380.0630.00019.16
5.4.370.0630.00018.98
5.4.360.0600.00019.26
5.4.350.0630.00019.11
5.4.340.0060.03612.00
5.4.320.0080.04112.48
5.4.310.0030.04012.47
5.4.300.0060.03512.48
5.4.290.0050.04012.47
5.4.280.0030.04212.37
5.4.270.0090.03212.37
5.4.260.0050.03812.37
5.4.250.0050.03812.38
5.4.240.0060.04712.38
5.4.230.0060.03612.36
5.4.220.0040.03712.36
5.4.210.0020.03812.37
5.4.200.0070.03512.37
5.4.190.0060.03612.36
5.4.180.0040.03612.36
5.4.170.0050.03612.37
5.4.160.0040.03612.37
5.4.150.0040.03712.37
5.4.140.0030.03912.05
5.4.130.0050.03612.04
5.4.120.0050.03611.99
5.4.110.0040.03611.99
5.4.100.0050.03711.99
5.4.90.0040.03911.99
5.4.80.0070.03811.99
5.4.70.0060.03311.98
5.4.60.0090.03411.99
5.4.50.0070.03811.99
5.4.40.0090.03511.98
5.4.30.0040.03611.97
5.4.20.0040.04011.97
5.4.10.0090.03111.97
5.4.00.0040.03711.46
5.3.290.0060.03812.80
5.3.280.0050.03812.71
5.3.270.0080.03612.73
5.3.260.0040.04012.72
5.3.250.0030.03912.72
5.3.240.0050.03612.71
5.3.230.0090.03412.71
5.3.220.0030.03812.68
5.3.210.0040.04012.68
5.3.200.0050.03712.68
5.3.190.0080.03512.68
5.3.180.0040.03712.68
5.3.170.0050.03812.67
5.3.160.0070.03712.67
5.3.150.0060.03912.68
5.3.140.0060.03812.66
5.3.130.0070.03812.66
5.3.120.0060.03812.66
5.3.110.0090.03812.65
5.3.100.0090.03312.12
5.3.90.0050.03612.09
5.3.80.0040.03812.08
5.3.70.0080.03512.08
5.3.60.0060.03612.07
5.3.50.0060.03612.01
5.3.40.0090.03312.01
5.3.30.0070.03711.97
5.3.20.0050.04611.75
5.3.10.0050.04711.71
5.3.00.0060.03811.71
5.2.170.0060.0299.21
5.2.160.0030.0319.21
5.2.150.0030.0339.21
5.2.140.0060.0319.20
5.2.130.0050.0359.16
5.2.120.0070.0289.16
5.2.110.0060.0319.17
5.2.100.0060.0279.16
5.2.90.0060.0289.17
5.2.80.0060.0309.16
5.2.70.0010.0339.16
5.2.60.0060.0319.12
5.2.50.0050.0329.08
5.2.40.0040.0309.06
5.2.30.0030.0319.04
5.2.20.0020.0319.02
5.2.10.0080.0318.94
5.2.00.0050.0278.79
5.1.60.0020.0268.06
5.1.50.0060.0228.06
5.1.40.0050.0288.04
5.1.30.0100.0278.39
5.1.20.0050.0258.41
5.1.10.0030.0268.13
5.1.00.0050.0238.14
5.0.50.0010.0226.62
5.0.40.0040.0186.47
5.0.30.0040.0306.29
5.0.20.0010.0216.26
5.0.10.0050.0186.23
5.0.00.0010.0396.23
4.4.90.0030.0154.78
4.4.80.0040.0134.75
4.4.70.0030.0154.75
4.4.60.0030.0154.75
4.4.50.0020.0204.77
4.4.40.0050.0304.71
4.4.30.0000.0174.75
4.4.20.0040.0144.85
4.4.10.0010.0164.84
4.4.00.0030.0244.76
4.3.110.0020.0164.66
4.3.100.0030.0144.66
4.3.90.0030.0144.63
4.3.80.0010.0254.58
4.3.70.0010.0154.63
4.3.60.0020.0154.63
4.3.50.0010.0174.63
4.3.40.0050.0244.54
4.3.30.0030.0153.29
4.3.20.0010.0173.26
4.3.10.0020.0173.22
4.3.00.0030.0238.06

preferences:
46.97 ms | 401 KiB | 5 Q