3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array= array('mela','mela','pera','arancia','mela','mela','arancia'); print_r(array_diff_key($array, array_unique($array)));

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.0000.01416.63
8.3.50.0250.01322.93
8.3.40.0150.00318.55
8.3.30.0160.00318.88
8.3.20.0040.00420.30
8.3.10.0080.00023.52
8.3.00.0080.00019.01
8.2.180.0070.01017.96
8.2.170.0080.00622.96
8.2.160.0140.00020.27
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0000.00821.05
8.2.110.0030.00722.01
8.2.100.0040.00819.32
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0060.00317.25
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0000.00817.78
8.2.30.0090.00017.91
8.2.20.0040.00417.59
8.2.10.0000.00717.91
8.2.00.0000.00717.61
8.1.280.0090.00525.92
8.1.270.0060.00324.02
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0000.00923.90
8.1.230.0120.00019.16
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0080.00016.88
8.1.180.0060.00318.10
8.1.170.0000.00818.55
8.1.160.0040.00421.95
8.1.150.0000.00718.73
8.1.140.0000.00717.46
8.1.130.0070.00017.82
8.1.120.0040.00417.41
8.1.110.0070.00017.40
8.1.100.0040.00417.43
8.1.90.0070.00017.34
8.1.80.0000.00717.41
8.1.70.0040.00417.32
8.1.60.0040.00417.41
8.1.50.0040.00417.48
8.1.40.0060.00317.48
8.1.30.0030.00517.61
8.1.20.0060.00317.54
8.1.10.0050.00217.30
8.1.00.0070.00017.38
8.0.300.0000.00718.77
8.0.290.0050.00516.63
8.0.280.0000.00718.41
8.0.270.0070.00017.18
8.0.260.0030.00317.11
8.0.250.0070.00016.80
8.0.240.0040.00416.90
8.0.230.0030.00316.85
8.0.220.0060.00016.86
8.0.210.0040.00416.84
8.0.200.0030.00316.79
8.0.190.0030.00616.86
8.0.180.0000.01016.86
8.0.170.0000.00716.86
8.0.160.0080.00016.82
8.0.150.0040.00416.69
8.0.140.0040.00416.71
8.0.130.0060.00313.19
8.0.120.0070.00016.66
8.0.110.0040.00416.84
8.0.100.0000.00716.86
8.0.90.0040.00416.72
8.0.80.0060.01516.77
8.0.70.0030.00516.81
8.0.60.0050.00216.85
8.0.50.0020.00516.61
8.0.30.0120.01016.89
8.0.20.0070.01317.40
8.0.10.0040.00416.98
8.0.00.0070.01216.84
7.4.330.0020.00215.00
7.4.320.0030.00316.48
7.4.300.0030.00316.50
7.4.290.0000.00716.35
7.4.280.0000.00816.46
7.4.270.0030.00316.33
7.4.260.0000.00716.54
7.4.250.0000.00816.38
7.4.240.0020.00616.52
7.4.230.0070.00016.51
7.4.220.0030.01416.53
7.4.210.0030.01116.48
7.4.200.0070.00016.57
7.4.160.0130.00316.39
7.4.150.0090.01217.40
7.4.140.0140.00517.86
7.4.130.0090.00716.45
7.4.120.0060.01116.54
7.4.110.0130.00316.58
7.4.100.0040.01316.27
7.4.90.0070.01016.48
7.4.80.0190.00019.39
7.4.70.0080.00816.34
7.4.60.0170.00016.33
7.4.50.0060.00316.40
7.4.40.0070.01016.31
7.4.30.0060.01316.36
7.4.00.0080.00814.92
7.3.330.0030.00312.97
7.3.320.0000.00512.98
7.3.310.0040.00416.17
7.3.300.0000.00716.08
7.3.290.0000.01416.13
7.3.280.0050.01116.10
7.3.270.0090.00917.40
7.3.260.0100.00616.45
7.3.250.0130.00516.38
7.3.240.0090.00816.46
7.3.230.0070.01016.39
7.3.210.0040.01916.47
7.3.200.0090.00919.39
7.3.190.0060.00916.17
7.3.180.0130.00316.21
7.3.170.0100.00616.32
7.3.160.0060.01016.14
7.3.10.0190.00516.52
7.3.00.0180.01216.34
7.2.330.0030.01416.23
7.2.320.0080.01016.36
7.2.310.0070.01016.18
7.2.300.0100.01416.57
7.2.290.0160.00016.50
7.2.130.0230.00316.83
7.2.120.0160.00816.77
7.2.110.0180.00916.62
7.2.100.0140.00716.48
7.2.90.0150.01516.85
7.2.80.0180.00516.63
7.2.70.0220.00316.51
7.2.60.0100.02016.54
7.2.50.0160.00816.81
7.2.40.0170.00916.84
7.2.30.0140.00916.70
7.2.20.0130.00616.63
7.2.10.0100.01516.41
7.2.00.0030.01117.69
7.1.250.0160.01115.68
7.1.100.0100.01017.82
7.1.70.0030.00617.07
7.1.60.0090.01619.40
7.1.50.0100.01316.94
7.1.00.0000.07322.54
7.0.200.0000.01016.54
7.0.140.0030.07322.09
7.0.60.0000.09020.01
7.0.50.0070.04717.88
7.0.40.0070.04020.22
7.0.30.0270.07320.30
7.0.20.0230.08320.19
7.0.10.0000.05720.09
7.0.00.0000.05720.25
5.6.280.0100.06320.77
5.6.210.0130.07320.69
5.6.200.0100.05018.19
5.6.190.0100.05020.38
5.6.180.0300.04020.61
5.6.170.0200.04020.47
5.6.160.0100.04020.61
5.6.150.0170.07318.27
5.6.140.0130.07718.14
5.6.130.0070.05318.18
5.6.120.0070.04721.15
5.6.110.0130.08021.02
5.6.100.0070.08720.96
5.6.90.0100.08020.87
5.6.80.0030.04020.37
5.5.350.0030.08720.29
5.5.340.0130.07318.07
5.5.330.0070.07720.27
5.5.320.0030.03720.32
5.5.310.0170.03720.29
5.5.300.0100.07318.04
5.5.290.0030.04318.08
5.5.280.0130.07720.76
5.5.270.0070.06320.66
5.5.260.0000.06320.87
5.5.250.0100.05320.69
5.5.240.0270.06720.14
5.4.450.0270.04019.32
5.4.440.0270.04319.49
5.4.430.0730.04719.32
5.4.420.0330.04019.41
5.4.410.0200.04019.26
5.4.400.0570.04718.98
5.4.390.0270.04019.00
5.4.380.0600.05718.79
5.4.370.1030.05018.48
5.4.360.0930.05318.60
5.4.350.1000.05318.72
5.4.340.0900.05018.63
5.4.320.0090.05112.48
5.4.310.0070.04312.48
5.4.300.0030.04012.48
5.4.290.0080.03612.48
5.4.280.0060.03812.38
5.4.270.0070.03912.38
5.4.260.0030.04012.38
5.4.250.0050.03912.38
5.4.240.0090.03312.38
5.4.230.0060.03712.37
5.4.220.0080.03212.36
5.4.210.0020.03912.36
5.4.200.0100.03412.37
5.4.190.0050.03812.36
5.4.180.0100.03212.36
5.4.170.0060.03512.37
5.4.160.0060.03512.37
5.4.150.0060.03512.37
5.4.140.0050.03712.05
5.4.130.0050.03612.04
5.4.120.0060.03511.99
5.4.110.0060.03611.99
5.4.100.0040.03711.99
5.4.90.0090.03312.00
5.4.80.0060.03611.99
5.4.70.0050.03511.99
5.4.60.0070.03411.98
5.4.50.0090.03411.99
5.4.40.0050.03511.98
5.4.30.0060.03611.98
5.4.20.0050.03611.97
5.4.10.0030.03711.97
5.4.00.0060.03711.47
5.3.290.0070.03812.80
5.3.280.0120.03112.71
5.3.270.0070.04612.72
5.3.260.0080.04012.72
5.3.250.0050.04112.72
5.3.240.0060.04012.71
5.3.230.0070.03612.71
5.3.220.0070.03812.68
5.3.210.0060.04012.68
5.3.200.0080.03512.68
5.3.190.0060.03812.68
5.3.180.0060.03812.67
5.3.170.0070.04212.67
5.3.160.0090.03412.67
5.3.150.0060.03912.67
5.3.140.0040.03812.66
5.3.130.0070.03812.66
5.3.120.0030.04112.66
5.3.110.0080.03812.66
5.3.100.0070.04112.12
5.3.90.0040.03912.09
5.3.80.0060.04112.08
5.3.70.0020.04112.08
5.3.60.0040.03812.07
5.3.50.0050.03712.01
5.3.40.0050.03712.01
5.3.30.0040.03711.97
5.3.20.0040.03711.75
5.3.10.0070.03411.72
5.3.00.0060.03611.70
5.2.170.0030.0329.21
5.2.160.0040.0299.21
5.2.150.0030.0329.21
5.2.140.0070.0289.20
5.2.130.0070.0269.16
5.2.120.0030.0319.16
5.2.110.0040.0299.17
5.2.100.0040.0309.17
5.2.90.0020.0329.16
5.2.80.0050.0309.16
5.2.70.0060.0299.16
5.2.60.0040.0319.11
5.2.50.0070.0309.09
5.2.40.0050.0329.06
5.2.30.0060.0309.04
5.2.20.0060.0289.02
5.2.10.0050.0278.94
5.2.00.0060.0278.79
5.1.60.0060.0218.08
5.1.50.0040.0248.07
5.1.40.0040.0248.05
5.1.30.0030.0278.41
5.1.20.0060.0248.43
5.1.10.0050.0258.15
5.1.00.0060.0248.15
5.0.50.0050.0196.62
5.0.40.0040.0186.48
5.0.30.0040.0306.29
5.0.20.0040.0196.27
5.0.10.0030.0206.24
5.0.00.0060.0316.23
4.4.90.0020.0164.78
4.4.80.0010.0174.75
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0050.0234.71
4.4.30.0050.0134.76
4.4.20.0040.0144.85
4.4.10.0020.0164.85
4.4.00.0020.0254.76
4.3.110.0020.0164.67
4.3.100.0030.0154.66
4.3.90.0040.0134.63
4.3.80.0030.0244.58
4.3.70.0010.0164.63
4.3.60.0050.0134.63
4.3.50.0040.0154.62
4.3.40.0030.0244.54
4.3.30.0010.0173.28
4.3.20.0010.0173.26
4.3.10.0010.0163.21
4.3.00.0030.02016.03

preferences:
49.78 ms | 401 KiB | 5 Q