3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = Array( Array ( 0 => 'Charcoal', 1 => 'Natural Gas', 2 => 'Combo' ), Array ( 0 => 'Charcoal', 1 => 'Propane', 2 => 'Combo' ), Array ( 0 => 'Charcoal', 1 => 'Propane', 2 => 'Natural Gas', 3 => 'Combo' ), Array ( 0 => 'Natural Gas', ), Array ( 0 => 'Natural Gas', 1 => 'Propane', ), Array ( 0 => 'Propane', ), Array ( 0 => '660 sq. inches' ), Array ( 0 => '740 sq. inches' ), Array ( 0 => '761 sq. inches' ), Array ( 0 => '788 sq. inches' ), Array ( 0 => '792 sq. inches' ) ); $result = array_unique(call_user_func_array('array_merge', $data)); var_dump($result);

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.0070.01418.14
8.3.50.0120.01021.98
8.3.40.0070.01418.63
8.3.30.0140.00019.04
8.3.20.0050.00322.00
8.3.10.0080.00022.10
8.3.00.0040.00422.33
8.2.180.0170.00716.63
8.2.170.0170.00022.96
8.2.160.0100.00320.23
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0070.00326.16
8.2.120.0000.00819.35
8.2.110.0070.00320.53
8.2.100.0120.00017.78
8.2.90.0080.00019.10
8.2.80.0030.00617.97
8.2.70.0030.00617.38
8.2.60.0130.00417.66
8.2.50.0060.00318.07
8.2.40.0040.00418.20
8.2.30.0070.00317.96
8.2.20.0040.00417.48
8.2.10.0060.00319.34
8.2.00.0040.00417.79
8.1.280.0140.00025.92
8.1.270.0090.00022.20
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00723.86
8.1.230.0060.00623.86
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0030.00617.53
8.1.180.0040.00418.77
8.1.170.0080.00018.50
8.1.160.0000.00721.91
8.1.150.0000.00718.47
8.1.140.0070.00017.45
8.1.130.0070.00017.89
8.1.120.0000.00717.32
8.1.110.0040.00417.27
8.1.100.0040.00417.41
8.1.90.0040.00417.38
8.1.80.0000.00717.23
8.1.70.0040.00417.37
8.1.60.0120.00017.50
8.1.50.0040.00417.43
8.1.40.0030.00617.49
8.1.30.0030.00617.53
8.1.20.0080.00017.50
8.1.10.0000.00717.48
8.1.00.0030.00617.29
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0000.00718.23
8.0.270.0070.00017.19
8.0.260.0000.00616.75
8.0.250.0000.00716.88
8.0.240.0000.00716.95
8.0.230.0000.00716.75
8.0.220.0030.00316.79
8.0.210.0040.00416.72
8.0.200.0040.00416.90
8.0.190.0000.00716.82
8.0.180.0000.00716.88
8.0.170.0000.00716.76
8.0.160.0070.00016.87
8.0.150.0030.00416.76
8.0.140.0040.00416.77
8.0.130.0000.00613.19
8.0.120.0040.00416.63
8.0.110.0070.00016.74
8.0.100.0000.00816.86
8.0.90.0080.00016.82
8.0.80.0030.01216.87
8.0.70.0020.00516.63
8.0.60.0000.00716.82
8.0.50.0000.00816.87
8.0.30.0080.00817.01
8.0.20.0100.01217.40
8.0.10.0070.00316.98
8.0.00.0080.01416.53
7.4.330.0050.00015.00
7.4.320.0000.00616.41
7.4.300.0000.00616.46
7.4.290.0030.00316.46
7.4.280.0000.00716.57
7.4.270.0030.00616.38
7.4.260.0000.00716.52
7.4.250.0070.00016.54
7.4.240.0000.00716.43
7.4.230.0070.00016.36
7.4.220.0120.01016.43
7.4.210.0050.01116.58
7.4.200.0000.00816.44
7.4.190.0040.00416.39
7.4.160.0160.00716.20
7.4.150.0120.00817.40
7.4.140.0090.01417.86
7.4.130.0080.00916.40
7.4.120.0070.01016.34
7.4.110.0070.01116.55
7.4.100.0060.01216.32
7.4.90.0100.00816.43
7.4.80.0170.00819.39
7.4.70.0090.00616.20
7.4.60.0070.01116.31
7.4.50.0030.00616.56
7.4.40.0080.00422.77
7.4.30.0110.00516.34
7.4.00.0090.00814.84
7.3.330.0060.00012.93
7.3.320.0020.00212.97
7.3.310.0000.00716.07
7.3.300.0030.00316.06
7.3.290.0070.00716.11
7.3.280.0060.01016.12
7.3.270.0170.00017.40
7.3.260.0120.00916.35
7.3.250.0130.00516.07
7.3.240.0110.00716.52
7.3.230.0090.00816.39
7.3.210.0000.01716.03
7.3.200.0040.01819.39
7.3.190.0070.01016.03
7.3.180.0040.01116.09
7.3.170.0110.00616.41
7.3.160.0130.00716.42
7.3.120.0070.01114.75
7.3.110.0110.00714.34
7.3.100.0070.01014.61
7.3.90.0030.01214.71
7.3.80.0030.01414.95
7.3.70.0040.01214.37
7.3.60.0060.00914.69
7.3.50.0120.00414.82
7.3.40.0070.00314.65
7.3.30.0070.00314.53
7.3.20.0050.00516.49
7.3.10.0030.00616.63
7.3.00.0000.00916.46
7.2.330.0120.00616.50
7.2.320.0140.00316.36
7.2.310.0070.01016.59
7.2.300.0100.01316.29
7.2.290.0110.00716.65
7.2.250.0100.01014.79
7.2.240.0060.01615.06
7.2.230.0100.00714.53
7.2.220.0070.00715.06
7.2.210.0100.00314.98
7.2.200.0040.00714.76
7.2.190.0090.00315.00
7.2.180.0030.00914.88
7.2.170.0100.00314.99
7.2.60.0040.00716.94
7.1.330.0030.01315.80
7.1.320.0080.00415.91
7.1.310.0070.01115.55
7.1.300.0050.00515.46
7.1.290.0070.00315.59
7.1.280.0120.00315.81
7.1.270.0030.00915.69
7.1.260.0070.00715.88
7.1.200.0030.00615.83
7.1.70.0100.00617.06
7.1.60.0140.01019.82
7.1.50.0090.01516.58
7.1.00.0030.07722.41
7.0.200.0000.00716.58
7.0.140.0030.07022.18
7.0.110.0300.03719.77
7.0.100.0500.05320.08
7.0.90.0270.07719.87
7.0.80.0430.05319.84
7.0.70.0430.03719.89
7.0.60.0430.07320.01
7.0.50.0230.08319.90
7.0.40.0000.05019.73
7.0.30.0100.06319.70
7.0.20.0070.07719.71
7.0.10.0070.07319.76
7.0.00.0070.08319.73
5.6.280.0000.07721.09
5.6.260.0070.07020.60
5.6.250.0070.08320.63
5.6.240.0030.04720.64
5.6.230.0000.08720.62
5.6.220.0070.04020.49
5.6.210.0030.03720.60
5.6.200.0100.04720.50
5.6.190.0070.05020.41
5.6.180.0070.07020.79
5.6.170.0030.04320.63
5.6.160.0070.07320.79
5.6.150.0100.08020.56
5.6.140.0200.07020.79
5.6.130.0070.04020.63
5.6.120.0030.04020.59
5.6.110.0030.08020.61
5.6.100.0100.07720.63
5.6.90.0170.06320.57
5.6.80.0000.04320.00
5.6.70.0130.03319.95
5.6.60.0000.04719.92
5.6.50.0030.04319.96
5.6.40.0000.04020.01
5.6.30.0070.03719.96
5.6.20.0000.05019.95
5.6.10.0000.07019.93
5.6.00.0070.03720.01
5.5.380.0070.08317.53
5.5.370.0030.03717.58
5.5.360.0070.05717.64
5.5.350.0070.08017.47
5.5.340.0070.05018.16
5.5.330.0070.03317.89
5.5.320.0130.07017.85
5.5.310.0070.07718.13
5.5.300.0070.03318.11
5.5.290.0100.07317.84
5.5.280.0130.06317.89
5.5.270.0170.07018.12
5.5.260.0100.06317.86
5.5.250.0030.04317.66
5.5.240.0070.06017.52
5.5.230.0000.07017.14
5.5.220.0000.04717.27
5.5.210.0070.07017.47
5.5.200.0100.05717.22
5.5.190.0030.04017.45
5.5.180.0000.06317.20
5.5.160.0030.03717.20
5.5.150.0030.03717.11
5.5.140.0070.03717.21
5.5.130.0000.03317.21
5.5.120.0030.03717.20
5.5.110.0030.03317.19
5.5.100.0030.03017.02
5.5.90.0070.02717.38
5.5.80.0000.04017.50
5.5.70.0030.03317.37
5.5.60.0000.03317.11
5.5.50.0100.04017.35
5.5.40.0030.03017.22
5.5.30.0000.04017.09
5.5.20.0030.03317.39
5.5.10.0070.03317.40
5.5.00.0070.03317.35
5.4.450.0070.03319.27
5.4.440.0100.03019.27
5.4.430.0100.03319.38
5.4.420.0030.04019.26
5.4.410.0200.06719.30
5.4.400.0070.03319.06
5.4.390.0000.05018.96
5.4.380.0030.03719.19
5.4.370.0000.03718.84
5.4.360.0070.03718.90
5.4.350.0000.04318.90
5.4.340.0000.04019.19
5.4.320.0130.03018.95
5.4.310.0000.03319.07
5.4.300.0070.03318.91
5.4.290.0000.04318.99
5.4.280.0100.02718.98
5.4.270.0030.03018.87
5.4.260.0100.02719.05
5.4.250.0030.03319.12
5.4.240.0100.03319.03
5.4.230.0030.04019.08
5.4.220.0030.04019.18
5.4.210.0030.04319.08
5.4.200.0070.02718.93
5.4.190.0000.03318.98
5.4.180.0000.03319.05
5.4.170.0030.04019.20
5.4.160.0100.02319.17
5.4.150.0030.04019.16
5.4.140.0030.03016.44
5.4.130.0000.03716.49
5.4.120.0030.03016.43
5.4.110.0030.03016.09
5.4.100.0030.03716.33
5.4.90.0030.03016.41
5.4.80.0070.03016.27
5.4.70.0030.03316.42
5.4.60.0000.04016.42
5.4.50.0100.05016.05
5.4.40.0070.06316.47
5.4.30.0070.03016.26
5.4.20.0000.07016.43
5.4.10.0100.06316.15
5.4.00.0070.06715.81
5.3.290.0070.03314.75
5.3.280.0030.05014.68
5.3.270.0000.04014.64
5.3.260.0000.03314.40
5.3.250.0030.03314.69
5.3.240.0030.03014.56
5.3.230.0070.03014.55
5.3.220.0070.03014.59
5.3.210.0030.03014.68
5.3.200.0070.03314.40
5.3.190.0030.03714.41
5.3.180.0070.02714.50
5.3.170.0000.03714.47
5.3.160.0100.02714.47
5.3.150.0070.02714.36
5.3.140.0000.03714.59
5.3.130.0000.04014.50
5.3.120.0100.08014.43
5.3.110.0000.04314.57
5.3.100.0030.05313.89
5.3.90.0130.04313.92
5.3.80.0100.07014.05
5.3.70.0000.07013.88
5.3.60.0130.03013.91
5.3.50.0070.07313.88
5.3.40.0070.04313.78
5.3.30.0070.07013.98
5.3.20.0030.03313.77
5.3.10.0070.06313.45
5.3.00.0000.03713.59
5.2.170.0000.05311.31
5.2.160.0070.02311.07
5.2.150.0030.04311.19
5.2.140.0070.05011.31
5.2.130.0070.05711.13
5.2.120.0100.03711.00
5.2.110.0030.06011.12
5.2.100.0030.04011.04
5.2.90.0070.03011.02
5.2.80.0030.03011.00
5.2.70.0100.05711.01
5.2.60.0070.04011.08
5.2.50.0070.05311.11
5.2.40.0070.04310.91
5.2.30.0000.05711.04
5.2.20.0030.06010.96
5.2.10.0030.03711.09
5.2.00.0030.05010.63
5.1.60.0030.04310.01
5.1.50.0100.0479.89
5.1.40.0000.05010.04
5.1.30.0000.05710.29
5.1.20.0030.04710.36
5.1.10.0070.05010.04
5.1.00.0030.05710.06
5.0.50.0000.0239.51
5.0.40.0000.0379.51
5.0.30.0030.0279.51
5.0.20.0030.0179.51
5.0.10.0030.0409.51
5.0.00.0030.0279.51
4.4.90.0070.0239.51
4.4.80.0000.0179.51
4.4.70.0000.0339.51
4.4.60.0000.0339.51
4.4.50.0030.0139.51
4.4.40.0000.0579.51
4.4.30.0030.0239.51
4.4.20.0000.0339.51
4.4.10.0030.0279.51
4.4.00.0030.0239.51
4.3.110.0000.0239.51
4.3.100.0000.0179.51
4.3.90.0000.0209.51
4.3.80.0000.0579.51
4.3.70.0000.0179.51
4.3.60.0000.0139.51
4.3.50.0030.0109.51
4.3.40.0000.0239.51
4.3.30.0000.0279.51
4.3.20.0030.0139.51
4.3.10.0000.0139.51
4.3.00.0000.0209.51

preferences:
40.82 ms | 401 KiB | 5 Q