3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( array( "a", "b", "c" => "def" ), array( "aa", "bb", "cc" => "def" ), array( "a", "b", "c" => "defg" ), array( "aa", "bb", "cc" => "def" ), array( "a", "b", "c" => "def" ), ); var_dump( 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.0140.00416.75
8.3.50.0130.00821.97
8.3.40.0000.01418.63
8.3.30.0140.00318.79
8.3.20.0040.00420.09
8.3.10.0050.00323.71
8.3.00.0000.00820.94
8.2.180.0140.00716.75
8.2.170.0140.00722.96
8.2.160.0100.00320.16
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0150.00320.72
8.2.110.0030.00622.10
8.2.100.0040.00717.72
8.2.90.0040.00419.09
8.2.80.0030.00617.97
8.2.70.0080.00017.38
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0000.00818.22
8.2.30.0050.00218.09
8.2.20.0040.00417.52
8.2.10.0000.00817.90
8.2.00.0040.00417.70
8.1.280.0100.00725.92
8.1.270.0040.00422.06
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00023.70
8.1.230.0060.00619.01
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0080.00017.00
8.1.180.0040.00418.10
8.1.170.0040.00418.37
8.1.160.0000.00721.89
8.1.150.0040.00418.56
8.1.140.0000.00717.39
8.1.130.0000.00717.72
8.1.120.0020.00517.36
8.1.110.0070.00017.38
8.1.100.0000.00717.34
8.1.90.0070.00017.38
8.1.80.0050.00217.37
8.1.70.0030.00317.30
8.1.60.0030.00617.39
8.1.50.0040.00417.48
8.1.40.0040.00417.36
8.1.30.0090.00017.63
8.1.20.0040.00417.59
8.1.10.0000.00717.29
8.1.00.0000.00717.22
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0000.00718.36
8.0.270.0000.00717.09
8.0.260.0000.00717.17
8.0.250.0030.00316.99
8.0.240.0080.00016.81
8.0.230.0030.00316.89
8.0.220.0030.00316.95
8.0.210.0070.00016.89
8.0.200.0030.00316.81
8.0.190.0070.00016.94
8.0.180.0070.00016.80
8.0.170.0040.00416.80
8.0.160.0030.00316.83
8.0.150.0040.00416.82
8.0.140.0050.00316.72
8.0.130.0000.00513.31
8.0.120.0050.00316.73
8.0.110.0040.00416.77
8.0.100.0040.00416.83
8.0.90.0030.00516.86
8.0.80.0080.00816.92
8.0.70.0000.00716.91
8.0.60.0070.00016.96
8.0.50.0070.00016.82
8.0.30.0120.01516.95
8.0.20.0100.01517.40
8.0.10.0040.00416.98
8.0.00.0110.00616.67
7.4.330.0000.00615.05
7.4.320.0070.00016.41
7.4.300.0030.00316.40
7.4.290.0020.00516.50
7.4.280.0030.00316.51
7.4.270.0070.00016.47
7.4.260.0000.00716.52
7.4.250.0040.00416.49
7.4.240.0030.00316.36
7.4.230.0030.00316.24
7.4.220.0070.01316.39
7.4.210.0060.01016.47
7.4.200.0070.00016.41
7.4.160.0130.00416.45
7.4.150.0090.00917.40
7.4.140.0050.01217.86
7.4.130.0090.00816.35
7.4.120.0100.00716.44
7.4.110.0080.00816.41
7.4.100.0060.01216.28
7.4.90.0100.00716.40
7.4.80.0100.00719.39
7.4.70.0060.01316.30
7.4.60.0080.01316.45
7.4.50.0040.00416.32
7.4.40.0030.01316.54
7.4.30.0130.00316.45
7.4.00.0060.00614.88
7.3.330.0000.00512.99
7.3.320.0060.00013.03
7.3.310.0000.00716.27
7.3.300.0030.00316.18
7.3.290.0030.01016.26
7.3.280.0080.01016.17
7.3.270.0140.00417.40
7.3.260.0110.00616.28
7.3.250.0140.00416.27
7.3.240.0160.00016.14
7.3.230.0110.00516.39
7.3.210.0100.00716.25
7.3.200.0080.00819.39
7.3.190.0120.00916.18
7.3.180.0170.00016.46
7.3.170.0070.01016.27
7.3.160.0110.00716.38
7.3.120.0000.01114.67
7.3.10.0030.00916.57
7.3.00.0060.00916.58
7.2.330.0090.00916.53
7.2.320.0110.00516.16
7.2.310.0120.01016.37
7.2.300.0110.00616.18
7.2.290.0210.00316.17
7.2.130.0040.01116.88
7.2.120.0060.00616.62
7.2.110.0100.00616.53
7.2.100.0130.00316.85
7.2.90.0120.00316.50
7.2.80.0000.01116.86
7.2.70.0060.00916.45
7.2.60.0090.00516.77
7.2.50.0040.01616.43
7.2.40.0000.01516.83
7.2.30.0030.01516.63
7.2.20.0090.00616.80
7.2.10.0030.01016.84
7.2.00.0100.00316.43
7.1.250.0090.00015.76
7.1.200.0000.01315.65
7.1.70.0000.00717.06
7.1.60.0040.01919.70
7.1.50.0110.01416.68
7.1.00.0030.07322.45
7.0.200.0140.00014.62
7.0.140.0070.07022.04
7.0.60.0030.09319.95
7.0.50.0000.08317.79
7.0.40.0070.06720.12
7.0.30.0270.04020.17
7.0.20.0230.08020.14
7.0.10.0230.06720.18
7.0.00.0070.05320.04
5.6.210.0130.07720.53
5.6.200.0070.06318.21
5.6.190.0130.04320.76
5.6.180.0300.07720.34
5.6.170.0300.06320.71
5.6.160.0030.08720.38
5.6.150.0030.05318.15
5.6.140.0070.07718.11
5.6.130.0100.07718.09
5.6.120.0100.03720.98
5.6.110.0030.08321.02
5.6.100.0130.05720.98
5.6.90.0030.08721.03
5.6.80.0130.07320.36
5.6.70.3000.04320.52
5.5.350.0170.08320.44
5.5.340.0070.07717.91
5.5.330.0030.04720.20
5.5.320.0330.08020.13
5.5.310.0330.07320.21
5.5.300.0070.05317.91
5.5.290.0000.04718.02
5.5.280.0100.04020.80
5.5.270.0030.05720.83
5.5.260.0000.07720.96
5.5.250.0030.05020.57
5.5.240.0070.06720.26
5.4.450.0370.06719.41
5.4.440.3970.04319.48
5.4.430.0100.05319.64
5.4.420.0070.05719.29
5.4.410.0070.05319.05
5.4.400.0070.05719.02
5.4.390.0070.05319.14
5.4.380.0200.05318.68
5.4.370.0230.05018.53
5.4.360.0070.05318.49
5.4.350.0110.03611.98
5.4.340.0050.03911.97
5.4.320.0060.03512.45
5.4.310.0050.03812.45
5.4.300.0080.03412.45
5.4.290.0070.03812.45
5.4.280.0050.03712.34
5.4.270.0060.03812.33
5.4.260.0050.04012.33
5.4.250.0070.03912.34
5.4.240.0070.03712.33
5.4.230.0040.04112.33
5.4.220.0060.03812.33
5.4.210.0070.03512.33
5.4.200.0070.04112.33
5.4.190.0070.03812.32
5.4.180.0070.04012.33
5.4.170.0110.04012.33
5.4.160.0130.04712.33
5.4.150.0090.04112.33
5.4.140.0100.04212.01
5.4.130.0080.04212.00
5.4.120.0110.04211.96
5.4.110.0100.03711.95
5.4.100.0110.03711.95
5.4.90.0110.03711.95
5.4.80.0140.04611.95
5.4.70.0120.03811.94
5.4.60.0080.04311.94
5.4.50.0100.04111.94
5.4.40.0120.03911.93
5.4.30.0080.04311.93
5.4.20.0110.03811.93
5.4.10.0090.03711.93
5.4.00.0100.03911.42
5.3.290.0040.04012.80
5.3.280.0090.04012.71
5.3.270.0130.04412.72
5.3.260.0090.04312.72
5.3.250.0140.03812.72
5.3.240.0110.04112.72
5.3.230.0120.04312.71
5.3.220.0110.04312.68
5.3.210.0140.04012.68
5.3.200.0080.04312.68
5.3.190.0110.04012.68
5.3.180.0120.04212.67
5.3.170.0120.04012.67
5.3.160.0190.05212.67
5.3.150.0110.04012.67
5.3.140.0100.04112.66
5.3.130.0110.04412.66
5.3.120.0130.04012.66
5.3.110.0170.05912.66
5.3.100.0100.04412.12
5.3.90.0120.04312.08
5.3.80.0120.04512.07
5.3.70.0110.04212.07
5.3.60.0140.05512.07
5.3.50.0110.04012.00
5.3.40.0100.04012.00
5.3.30.0090.04311.94
5.3.20.0110.04111.71
5.3.10.0140.03911.68

preferences:
43.87 ms | 401 KiB | 5 Q