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['X'][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.0150.00318.55
8.3.50.0150.00422.05
8.3.40.0110.01118.79
8.3.30.0100.00319.25
8.3.20.0000.00820.35
8.3.10.0000.00723.65
8.3.00.0000.00819.38
8.2.180.0110.00416.38
8.2.170.0090.00622.96
8.2.160.0090.00920.35
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.09
8.2.110.0030.00620.54
8.2.100.0070.00717.97
8.2.90.0040.00417.97
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0030.01217.78
8.2.50.0050.00518.07
8.2.40.0040.00418.16
8.2.30.0070.00018.06
8.2.20.0000.00817.67
8.2.10.0070.00017.96
8.2.00.0040.00417.68
8.1.280.0070.00725.92
8.1.270.0030.00621.97
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00624.02
8.1.230.0070.00419.21
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0040.00417.13
8.1.180.0000.00818.10
8.1.170.0060.00318.57
8.1.160.0040.00421.95
8.1.150.0040.00418.87
8.1.140.0000.00717.31
8.1.130.0000.00717.89
8.1.120.0030.00317.30
8.1.110.0040.00417.36
8.1.100.0030.00317.37
8.1.90.0030.00717.39
8.1.80.0030.00317.30
8.1.70.0030.00317.28
8.1.60.0030.00617.59
8.1.50.0050.00317.38
8.1.40.0030.00517.33
8.1.30.0000.00817.49
8.1.20.0040.00417.48
8.1.10.0020.00517.55
8.1.00.0030.00617.52
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0030.00318.44
8.0.270.0070.00017.27
8.0.260.0030.00317.27
8.0.250.0030.00316.81
8.0.240.0060.00016.79
8.0.230.0070.00016.78
8.0.220.0000.00716.87
8.0.210.0030.00316.88
8.0.200.0030.00316.88
8.0.190.0030.00616.81
8.0.180.0030.00516.87
8.0.170.0050.00316.83
8.0.160.0040.00416.90
8.0.150.0040.00416.66
8.0.140.0030.00316.69
8.0.130.0030.00313.30
8.0.120.0040.00416.76
8.0.110.0040.00416.79
8.0.100.0070.00016.63
8.0.90.0070.00016.74
8.0.80.0070.00716.81
8.0.70.0000.00816.85
8.0.60.0040.00416.73
8.0.50.0000.00716.89
8.0.30.0170.00516.87
8.0.20.0110.00817.40
8.0.10.0040.00416.98
8.0.00.0090.00816.63
7.4.330.0020.00215.08
7.4.320.0000.00616.43
7.4.300.0030.00316.35
7.4.290.0040.00416.55
7.4.280.0070.00016.47
7.4.270.0040.00416.53
7.4.260.0040.00416.45
7.4.250.0040.00416.50
7.4.240.0020.00516.48
7.4.230.0030.00316.63
7.4.220.0080.01116.57
7.4.210.0040.01116.43
7.4.200.0040.00416.61
7.4.160.0080.00816.59
7.4.150.0090.00917.40
7.4.140.0100.01317.86
7.4.130.0110.00916.57
7.4.120.0110.00616.57
7.4.110.0110.00616.53
7.4.100.0040.01816.41
7.4.90.0090.00916.52
7.4.80.0150.00319.39
7.4.70.0070.01116.64
7.4.60.0120.00916.54
7.4.50.0000.00916.42
7.4.40.0160.00616.35
7.4.30.0100.00716.52
7.4.00.0000.01414.80
7.3.330.0000.00513.13
7.3.320.0000.00513.17
7.3.310.0000.00616.36
7.3.300.0030.00316.17
7.3.290.0080.00816.25
7.3.280.0100.00716.24
7.3.270.0100.01017.40
7.3.260.0160.00616.20
7.3.250.0130.00316.41
7.3.240.0120.00616.36
7.3.230.0060.01116.62
7.3.210.0090.01216.27
7.3.200.0170.00619.39
7.3.190.0110.00716.63
7.3.180.0080.00816.46
7.3.170.0180.00316.34
7.3.160.0000.01616.30
7.3.10.0130.00916.30
7.3.00.0170.00616.32
7.2.330.0140.00416.65
7.2.320.0060.01116.37
7.2.310.0110.00616.59
7.2.300.0100.00716.80
7.2.290.0030.01316.89
7.2.130.0130.01316.52
7.2.120.0160.00416.73
7.2.110.0240.01016.49
7.2.100.0100.01316.36
7.2.90.0060.01616.67
7.2.80.0030.01216.61
7.2.70.0230.01016.56
7.2.60.0030.01016.50
7.2.50.0030.01416.53
7.2.40.0000.01316.62
7.2.30.0070.01016.58
7.2.20.0180.00916.66
7.2.10.0180.00416.58
7.2.00.0080.01218.14
7.1.250.0240.00315.47
7.1.100.0070.00417.70
7.1.70.0050.00517.18
7.1.60.0150.00619.11
7.1.50.0090.01316.93
7.1.00.0000.08022.42
7.0.200.0000.00816.82
7.0.140.0030.07022.08
7.0.60.0100.07020.06
7.0.50.0030.08317.85
7.0.40.0070.04320.02
7.0.30.0170.05320.12
7.0.20.0270.08320.20
7.0.10.0030.09320.16
7.0.00.0070.06720.20
5.6.280.0070.07020.98
5.6.210.0130.07320.62
5.6.200.0030.06718.29
5.6.190.0130.10320.77
5.6.180.0170.04320.64
5.6.170.1330.05320.55
5.6.160.0130.08320.50
5.6.150.0070.08718.11
5.6.140.0100.07318.14
5.6.130.0070.06018.14
5.6.120.0030.08720.93
5.6.110.0070.08020.96
5.6.100.0030.04021.00
5.6.90.0170.07020.96
5.6.80.0030.08020.28
5.5.350.0170.08320.33
5.5.340.0070.05017.99
5.5.330.0000.05020.42
5.5.320.0300.05720.23
5.5.310.0230.06320.26
5.5.300.0070.07317.98
5.5.290.0070.03718.06
5.5.280.0030.06720.86
5.5.270.0070.07320.77
5.5.260.0070.08720.79
5.5.250.0070.08020.77
5.5.240.0200.08320.25
5.4.450.0030.04319.58
5.4.440.1000.04019.41
5.4.430.2930.03719.54
5.4.420.2270.03319.19
5.4.410.2370.03319.40
5.4.400.2270.04019.15
5.4.390.2630.04019.22
5.4.380.2830.03319.17
5.4.370.2370.03318.98
5.4.360.2370.03719.09
5.4.350.2570.04019.22
5.4.340.2400.03718.87
5.4.320.2470.03719.13
5.4.310.2400.03718.87
5.4.300.2270.04319.13
5.4.290.2670.02718.90
5.4.280.2570.03719.19
5.4.270.2300.03719.24
5.4.260.2600.04319.23
5.4.250.1000.04719.21
5.4.240.0100.07319.12
5.4.230.0300.07319.13
5.4.220.2570.04018.96
5.4.210.2600.04018.98
5.4.200.1630.03719.16
5.4.190.0030.07319.23
5.4.180.0030.06019.07
5.4.170.2030.04319.13
5.4.160.2530.03318.97
5.4.150.2600.04019.22
5.4.140.2300.03316.50
5.4.130.2570.03716.28
5.4.120.0330.04016.51
5.4.110.0000.04316.16
5.4.100.0870.06316.56
5.4.90.2670.03316.55
5.4.80.2600.04016.26
5.4.70.2530.04316.57
5.4.60.2470.04016.38
5.4.50.2330.03716.25
5.4.40.2470.03716.54
5.4.30.2600.03316.42
5.4.20.2330.03016.51
5.4.10.0870.04316.55
5.4.00.0070.07015.94
5.3.290.0070.03714.74
5.3.280.2570.03714.64
5.3.270.3030.04014.52
5.3.260.3070.04014.50
5.3.250.3100.03314.82
5.3.240.2700.04014.51
5.3.230.2100.04714.56
5.3.220.2970.04014.57
5.3.210.1200.03314.48
5.3.200.0070.06714.70
5.3.190.0030.04714.48
5.3.180.2530.03714.56
5.3.170.2970.04014.52
5.3.160.2570.04014.56
5.3.150.2470.03714.78
5.3.140.2600.03314.52
5.3.130.2430.03314.59
5.3.120.2200.03714.55
5.3.110.2700.04014.54
5.3.100.0530.04713.95
5.3.90.0000.04714.23
5.3.80.0000.03714.13
5.3.70.1030.03714.11
5.3.60.2300.04314.07
5.3.50.2430.03714.05
5.3.40.2500.03713.86
5.3.30.2570.04013.91
5.3.20.2730.04013.80
5.3.10.2470.03013.68
5.3.00.2570.04013.56
5.2.170.1970.03311.04
5.2.160.0870.02711.38
5.2.150.0030.02711.11
5.2.140.0070.06011.36
5.2.130.0030.03011.24
5.2.120.1970.02711.18
5.2.110.1830.03310.99
5.2.100.1900.02711.11
5.2.90.2170.02711.03
5.2.80.1900.02711.20
5.2.70.2100.03711.16
5.2.60.1870.03010.97
5.2.50.2130.03310.91
5.2.40.1830.02310.90
5.2.30.1800.03311.11
5.2.20.0000.06311.02
5.2.10.0030.03010.75
5.2.00.0070.02310.61
5.1.60.0270.0279.88
5.1.50.1530.02310.07
5.1.40.1570.02710.05
5.1.30.1770.03010.30
5.1.20.1630.02310.36
5.1.10.1570.0309.95
5.1.00.1530.02310.04
5.0.50.0770.0208.52
5.0.40.0870.0238.41
5.0.30.0730.0338.13
5.0.20.0870.0178.09
5.0.10.0930.0208.05
5.0.00.0770.0308.05
4.4.90.0930.0138.02
4.4.80.0870.0178.02
4.4.70.0870.0208.02
4.4.60.1000.0208.02
4.4.50.0030.0338.02
4.4.40.0070.0308.02
4.4.30.0000.0208.02
4.4.20.0000.0338.02
4.4.10.0000.0278.02
4.4.00.0000.0278.02
4.3.110.0000.0178.02
4.3.100.0230.0178.02
4.3.90.0500.0208.02
4.3.80.0930.0238.02
4.3.70.0930.0138.02
4.3.60.0930.0208.02
4.3.50.0900.0178.02
4.3.40.0970.0278.02
4.3.30.0570.0238.02
4.3.20.0430.0208.02
4.3.10.0470.0238.02
4.3.00.0470.0208.02

preferences:
47.52 ms | 401 KiB | 5 Q