3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['Walter', 'White'], ['Marie', 'Schrader'], ['Marie', 'Schrader'], ['Hank', 'Schrader'], ]; 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.5.00.0100.01019.73
8.4.150.0020.00014.05
8.4.140.0160.00817.42
8.4.130.0080.00917.89
8.4.120.0100.01024.09
8.4.110.0130.00823.45
8.4.100.0130.00718.79
8.4.90.0120.00818.61
8.4.80.0130.00718.45
8.4.70.0120.00717.86
8.4.60.0070.01318.73
8.4.50.0110.00818.40
8.4.40.0100.01017.59
8.4.30.0100.01020.51
8.4.20.0030.00519.72
8.4.10.0090.00619.41
8.3.280.0130.00918.24
8.3.270.0110.00816.40
8.3.260.0080.01017.04
8.3.250.0100.00818.68
8.3.240.0120.00617.25
8.3.230.0110.00916.55
8.3.220.0080.00918.76
8.3.210.0050.00216.66
8.3.200.0050.00316.59
8.3.190.0140.00516.88
8.3.180.0100.00816.98
8.3.170.0140.00322.77
8.3.160.0090.00917.21
8.3.150.0110.00720.57
8.3.140.0180.00420.50
8.3.130.0170.00318.14
8.3.120.0040.00418.97
8.3.110.0030.00620.94
8.3.100.0030.00624.06
8.3.90.0070.01126.77
8.3.80.0040.00418.56
8.3.70.0120.00318.30
8.3.60.0180.00018.31
8.3.50.0120.00916.59
8.3.40.0070.00723.77
8.3.30.0040.01118.96
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0000.00726.16
8.2.290.0040.00320.28
8.2.280.0120.00818.40
8.2.270.0140.00017.10
8.2.260.0040.01518.79
8.2.250.0100.00018.30
8.2.240.0000.00924.37
8.2.230.0040.00422.58
8.2.220.0090.00037.54
8.2.210.0190.00026.77
8.2.200.0120.00018.16
8.2.190.0070.00716.58
8.2.180.0110.01116.38
8.2.170.0040.01118.83
8.2.160.0130.00022.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0060.00321.07
8.2.110.0090.00022.13
8.2.100.0290.00618.44
8.2.90.0250.00418.44
8.2.80.0280.00418.44
8.2.70.0210.00818.44
8.2.60.0230.00718.44
8.2.50.0300.00018.44
8.2.40.0210.00718.44
8.2.30.0190.00818.44
8.2.20.0250.00318.44
8.2.10.0230.00318.44
8.2.00.0230.00918.44
8.1.330.0050.01322.07
8.1.320.0150.00516.18
8.1.310.0050.00316.57
8.1.300.0040.00417.95
8.1.290.0090.00030.84
8.1.280.0100.01025.92
8.1.270.0080.00024.66
8.1.260.0060.00328.09
8.1.250.0080.00028.09
8.1.240.0030.00720.74
8.1.230.0270.00018.44
8.1.220.0220.00718.44
8.1.210.0230.00318.44
8.1.200.0250.00418.44
8.1.190.0240.00318.44
8.1.180.0250.00218.44
8.1.170.0150.01118.44
8.1.160.0260.00018.44
8.1.150.0190.00818.44
8.1.140.0240.00318.44
8.1.130.0270.00018.44
8.1.120.0270.00018.44
8.1.110.0290.00318.44
8.1.100.0210.00618.44
8.1.90.0170.00918.44
8.1.80.0200.00618.44
8.1.70.0200.00518.44
8.1.60.0240.00318.44
8.1.50.0190.00818.44
8.1.40.0180.00918.44
8.1.30.0180.00718.44
8.1.20.0250.00318.44
8.1.10.0240.00318.44
8.1.00.0190.00518.44
8.0.300.0260.00818.44
8.0.290.0250.00318.44
8.0.280.0240.00318.44
8.0.270.0280.00018.44
8.0.260.0200.00718.44
8.0.250.0200.00818.44
8.0.240.0240.00418.44
8.0.230.0240.00518.44
8.0.220.0230.00918.44
8.0.210.0250.00218.44
8.0.200.0200.01018.44
8.0.190.0240.00318.44
8.0.180.0270.00018.44
8.0.170.0250.00418.44
8.0.160.0290.00518.44
8.0.150.0230.00018.44
8.0.140.0240.00318.44
8.0.130.0210.00018.44
8.0.120.0280.00018.44
8.0.110.0180.00918.44
8.0.100.0240.00318.44
8.0.90.0250.00618.44
8.0.80.0180.00918.44
8.0.70.0290.00018.44
8.0.60.0200.00818.44
8.0.50.0240.00418.44
8.0.30.0210.00918.44
8.0.20.0110.01618.44
8.0.10.0250.00018.44

preferences:
79.65 ms | 403 KiB | 5 Q