3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['user_id' => 82, 'ac_type' => 1], ['user_id' => 80, 'ac_type' => 5], ['user_id' => 76, 'ac_type' => 1], ['user_id' => 82, 'ac_type' => 2], ['user_id' => 80, 'ac_type' => 5] ]; var_export(array_unique($array, SORT_REGULAR));

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.00718.43
8.3.50.0080.00619.87
8.3.40.0120.00620.43
8.3.30.0000.01418.77
8.3.20.0050.00324.18
8.3.10.0070.00024.66
8.3.00.0060.00326.16
8.2.180.0090.01325.92
8.2.170.0100.01018.79
8.2.160.0110.00722.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00826.16
8.2.110.0040.00721.96
8.2.100.0070.00717.78
8.2.90.0060.00317.63
8.2.80.0070.00318.58
8.2.70.0030.00517.50
8.2.60.0060.00317.80
8.2.50.0000.00717.98
8.2.40.0030.00619.76
8.2.30.0040.00417.98
8.2.20.0040.00420.31
8.2.10.0050.00317.86
8.2.00.0070.00019.17
8.1.280.0120.00625.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00620.77
8.1.230.0090.00317.79
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0080.00017.22
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0000.00917.62
8.1.160.0000.00718.83
8.1.150.0070.00018.49
8.1.140.0040.00417.42
8.1.130.0030.00617.26
8.1.120.0000.00717.40
8.1.110.0040.00417.41
8.1.100.0040.00417.43
8.1.90.0040.00417.43
8.1.80.0050.00317.28
8.1.70.0000.00717.43
8.1.60.0000.01017.52
8.1.50.0140.00217.47
8.1.40.0170.00017.40
8.1.30.0100.00717.52
8.1.20.0080.00817.47
8.1.10.0120.00417.51
8.1.00.0100.00617.40
8.0.300.0030.00320.48
8.0.290.0030.00516.63
8.0.280.0070.00018.30
8.0.270.0000.00716.74
8.0.260.0030.00316.63
8.0.250.0030.00516.89
8.0.240.0000.00816.79
8.0.230.0030.00316.88
8.0.220.0040.00416.86
8.0.210.0000.00716.80
8.0.200.0060.00016.91
8.0.190.0040.01116.77
8.0.180.0080.00616.81
8.0.170.0100.00316.71
8.0.160.0070.00716.76
8.0.150.0110.00416.61
8.0.140.0110.00316.62
8.0.130.0080.00816.73
8.0.120.0130.00216.80
8.0.110.0110.00016.83
8.0.100.0040.00416.79
8.0.90.0050.00516.64
8.0.80.0080.00416.73
8.0.70.0120.00316.63
8.0.60.0140.00016.74
8.0.50.0150.00016.67
8.0.30.0110.00416.67
8.0.20.0160.00016.88
8.0.10.0100.00516.79
7.4.330.0000.00615.55
7.4.320.0000.00616.43
7.4.300.0000.00616.53
7.4.290.0130.00016.33
7.4.280.0000.00816.35
7.4.270.0030.01216.41
7.4.260.0040.01016.41
7.4.250.0120.00316.40
7.4.240.0070.00816.49
7.4.230.0110.00616.47
7.4.220.0140.00016.53
7.4.210.0100.00316.43
7.4.200.0110.00416.50
7.4.190.0070.00716.48
7.4.180.0100.00516.54
7.4.160.0120.00016.51
7.4.150.0090.00016.35
7.4.140.0100.00016.40
7.4.130.0100.00016.34
7.4.120.0100.00416.30
7.4.110.0090.00316.29
7.4.100.0030.00716.45
7.4.90.0000.00716.35
7.4.80.0000.00616.29
7.4.70.0000.00616.31
7.4.60.0060.00016.23
7.4.50.0000.00616.07
7.4.40.0060.00016.27
7.4.30.0020.00516.39
7.4.20.0030.00316.21
7.4.10.0040.00416.39
7.4.00.0050.00216.36

preferences:
31.25 ms | 400 KiB | 5 Q