3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ 123, 321, 231, ], [ "abc", "bca", "cab", ], [ 0.9999, 43.786, false, ], ]; array_multisort($arr[0], SORT_DESC, SORT_NUMERIC, $arr[1], SORT_STRING, $arr[2], SORT_ASC, SORT_NATURAL ); var_dump($arr);

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.130.0000.00818.17
8.3.120.0030.00918.77
8.3.110.0090.00320.94
8.3.100.0060.00324.06
8.3.90.0150.00426.77
8.3.80.0090.00016.38
8.3.70.0140.00716.58
8.3.60.0110.00418.43
8.3.50.0070.01017.52
8.3.40.0070.00718.67
8.3.30.0090.00618.81
8.3.20.0040.00421.79
8.3.10.0040.00419.15
8.3.00.0040.00421.92
8.2.250.0130.00318.51
8.2.240.0100.01018.79
8.2.230.0060.00322.58
8.2.220.0080.00037.54
8.2.210.0110.00726.77
8.2.200.0090.00016.50
8.2.190.0070.01416.58
8.2.180.0100.00725.92
8.2.170.0110.01122.96
8.2.160.0120.00920.78
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0030.00620.35
8.2.100.0090.00317.91
8.2.90.0000.00817.91
8.2.80.0090.00017.97
8.2.70.0000.00818.04
8.2.60.0000.00818.21
8.2.50.0040.00418.10
8.2.40.0030.00519.33
8.2.30.0030.00619.75
8.2.20.0000.00717.96
8.2.10.0040.00418.87
8.2.00.0000.00719.69
8.1.300.0060.00319.48
8.1.290.0070.00430.84
8.1.280.0070.00725.92
8.1.270.0040.00420.83
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0100.01022.06
8.1.230.0070.00420.89
8.1.220.0050.00317.74
8.1.210.0040.00418.88
8.1.200.0040.00417.23
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00418.52
8.1.160.0000.00818.89
8.1.150.0040.00418.75
8.1.140.0070.00020.27
8.1.130.0030.00320.19
8.1.120.0030.00517.45
8.1.110.0000.01117.28
8.1.100.0070.00017.38
8.1.90.0080.00017.45
8.1.80.0040.00417.32
8.1.70.0040.00417.42
8.1.60.0000.00817.51
8.1.50.0040.00417.45
8.1.40.0030.00517.46
8.1.30.0040.00717.59
8.1.20.0060.00317.55
8.1.10.0040.00417.50
8.1.00.0040.00417.39
8.0.300.0040.00421.95
8.0.290.0050.00316.63
8.0.280.0000.00818.34
8.0.270.0000.00817.12
8.0.260.0000.00718.38
8.0.250.0000.00716.80
8.0.240.0080.00016.89
8.0.230.0030.00316.89
8.0.220.0030.00316.86
8.0.210.0030.00316.74
8.0.200.0030.00316.90
8.0.190.0050.00216.87
8.0.180.0040.00416.86
8.0.170.0000.00816.88
8.0.160.0050.00216.88
8.0.150.0050.00216.72
8.0.140.0000.00716.65
8.0.130.0000.00613.22
8.0.120.0040.00416.65
8.0.110.0000.00816.86
8.0.100.0040.00416.79
8.0.90.0070.00016.73
8.0.80.0070.00716.76
8.0.70.0050.00316.61
8.0.60.0000.00816.70
8.0.50.0000.00716.89
8.0.30.0100.00616.98
8.0.20.0120.00917.16
8.0.10.0070.00016.87
8.0.00.0090.01016.75
7.4.330.0050.00016.79
7.4.320.0030.00316.61
7.4.300.0070.00016.59
7.4.290.0000.00716.44
7.4.280.0000.00816.57
7.4.270.0070.00016.53
7.4.260.0070.00016.41
7.4.250.0040.00416.43
7.4.240.0000.00716.42
7.4.230.0080.00016.59
7.4.220.0000.00816.56
7.4.210.0070.01116.59
7.4.200.0030.00316.49
7.4.160.0080.01116.50
7.4.140.0140.00817.86
7.4.130.0070.01016.25
7.4.120.0140.00716.33
7.4.110.0090.00916.36
7.4.100.0120.01216.32
7.4.90.0090.00816.39
7.4.80.0090.00919.39
7.4.70.0130.00316.70
7.4.60.0100.00916.41
7.4.50.0100.00316.41
7.4.40.0060.01616.51
7.4.00.0110.00614.84
7.3.330.0000.00612.93
7.3.320.0050.00013.09
7.3.310.0030.00516.17
7.3.300.0030.00316.25
7.3.290.0070.00016.19
7.3.280.0080.00816.19
7.3.260.0110.00716.24
7.3.240.0090.00916.38
7.3.230.0030.01616.36
7.3.210.0150.00416.23
7.3.200.0120.00916.29
7.3.190.0130.00416.30
7.3.180.0120.00316.16
7.3.170.0100.00716.27
7.3.160.0110.00416.32
7.3.120.0130.00614.93
7.3.110.0070.01014.89
7.3.100.0030.01614.70
7.3.90.0100.00714.66
7.3.80.0000.00915.00
7.3.70.0000.01114.70
7.3.60.0130.00314.88
7.3.50.0120.00514.62
7.3.40.0110.00614.69
7.3.30.0050.00614.71
7.3.20.0080.01016.54
7.3.10.0040.00916.54
7.3.00.0070.00716.60
7.2.330.0100.01016.66
7.2.320.0100.01016.22
7.2.310.0110.00716.37
7.2.300.0110.00616.57
7.2.290.0070.01816.31
7.2.250.0030.01315.05
7.2.240.0100.01014.91
7.2.230.0130.00314.99
7.2.220.0100.00314.65
7.2.210.0070.01015.06
7.2.200.0040.00814.73
7.2.190.0030.01014.98
7.2.180.0090.00814.80
7.2.170.0030.00914.99
7.2.160.0080.00514.82
7.2.150.0040.00916.71
7.2.140.0090.00516.70
7.2.130.0030.00916.76
7.2.120.0060.01016.71
7.2.110.0090.00616.84
7.2.100.0060.00716.61
7.2.90.0090.01116.94
7.2.80.0010.01416.55
7.2.70.0110.00116.62
7.2.60.0100.01016.55
7.2.50.0070.00916.71
7.2.40.0110.00516.63
7.2.30.0100.00316.79
7.2.20.0060.00816.84
7.2.10.0070.01116.65
7.2.00.0080.00616.63
7.1.330.0060.01515.89
7.1.320.0100.00615.47
7.1.310.0030.01016.08
7.1.300.0130.00315.76
7.1.290.0000.01315.48
7.1.280.0060.00515.73
7.1.270.0080.00315.68
7.1.260.0030.00815.76
7.1.250.0060.00715.80
7.1.240.0030.01015.64
7.1.230.0030.01015.48
7.1.220.0050.00515.84
7.1.210.0030.00915.62
7.1.200.0030.01015.63
7.1.190.0000.01515.94
7.1.180.0070.00715.76
7.1.170.0000.00915.71
7.1.160.0080.00415.73
7.1.150.0060.00615.69
7.1.140.0060.00915.62
7.1.130.0060.00315.70
7.1.120.0050.00515.83
7.1.110.0040.00815.72
7.1.100.0030.01015.44
7.1.90.0030.01015.79
7.1.80.0000.01515.71
7.1.70.0030.01015.75
7.1.60.0070.00315.74
7.1.50.0060.00915.75
7.1.40.0050.00515.59
7.1.30.0000.01215.57
7.1.20.0000.01615.75
7.1.10.0080.00815.75
7.1.00.0040.00715.74

preferences:
59.2 ms | 403 KiB | 5 Q