3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [[5, 6], [1, 2], [6, 5], [1, 2], [1 => 2, 0 => 1]]; var_export( array_unique( array_map( function ($row) { sort($row); return $row; }, $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.30.0070.01218.03
8.5.20.0100.00720.18
8.5.10.0090.00916.64
8.5.00.0130.00819.93
8.4.180.0150.00719.60
8.4.170.0140.00723.78
8.4.160.0170.01023.99
8.4.150.0080.00516.81
8.4.140.0120.00917.70
8.4.130.0040.00517.67
8.4.120.0130.00720.45
8.4.110.0160.00417.95
8.4.100.0110.00817.63
8.4.90.0130.00820.80
8.4.80.0140.00618.85
8.4.70.0080.01118.68
8.4.60.0150.00618.87
8.4.50.0100.00920.47
8.4.40.0070.00317.62
8.4.30.0480.00617.39
8.4.20.0420.00617.55
8.4.10.0370.01017.37
8.3.300.0080.01220.79
8.3.290.0100.01020.70
8.3.280.0100.01018.27
8.3.270.0120.00416.78
8.3.260.0110.00916.64
8.3.250.0110.00718.93
8.3.240.0080.01216.70
8.3.230.0090.00916.42
8.3.220.0040.00620.85
8.3.210.0050.00316.26
8.3.200.0070.00516.55
8.3.190.0130.00616.97
8.3.180.0090.01018.82
8.3.170.0030.01417.04
8.3.160.0360.00816.36
8.3.150.0170.00616.37
8.3.140.0150.00716.30
8.3.130.0140.00516.13
8.3.120.0190.00016.30
8.3.110.0430.00816.21
8.3.100.0400.00716.21
8.3.90.0400.00716.20
8.3.80.0290.01616.44
8.3.70.0320.01316.08
8.3.60.0390.00616.27
8.3.50.0390.00816.32
8.3.40.0250.00817.22
8.3.30.0270.00317.24
8.3.20.0310.00917.14
8.3.10.0290.00317.33
8.3.00.0210.00717.35
8.2.300.0130.00718.13
8.2.290.0140.00516.57
8.2.280.0140.00618.20
8.2.270.0320.01016.42
8.2.260.0250.01216.28
8.2.250.0330.00716.44
8.2.240.0340.00316.57
8.2.230.0300.00316.26
8.2.220.0140.00516.43
8.2.210.0290.01216.15
8.2.200.0360.00316.23
8.2.190.0350.00416.01
8.2.180.0190.01916.17
8.2.170.0320.00917.49
8.2.160.0250.01617.60
8.2.150.0220.01117.39
8.2.140.0180.00017.44
8.2.130.0180.00317.17
8.2.120.0350.00617.19
8.2.110.0420.00017.25
8.2.100.0400.00717.37
8.2.90.0260.01317.59
8.2.80.0220.01617.24
8.2.70.0310.00817.48
8.2.60.0330.00617.32
8.2.50.0340.00617.35
8.2.40.0340.00917.31
8.2.30.0300.00317.38
8.2.20.0290.01317.19
8.2.10.0300.00717.29
8.2.00.0220.01417.50
8.1.340.0080.01317.55
8.1.320.0050.00516.13

preferences:
46.01 ms | 851 KiB | 5 Q