3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ary_main = array(0,8,4,7,6,2,4,8); $args[] = array(1,8,3,7,2,2,4,1); $args[] = SORT_ASC; $args[] = array(6,5,3,2,5,7,5,3); $args[] = SORT_DESC; $args[] =& $ary_main; $args = call_user_func_array("array_multisort", $args); var_dump($args);

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.0070.00921.08
8.3.40.0040.01218.90
8.3.30.0040.01121.95
8.3.20.0060.00320.52
8.3.10.0080.00021.08
8.3.00.0100.00622.57
8.2.180.0070.00716.36
8.2.170.0120.00322.96
8.2.160.0100.00720.39
8.2.150.0080.00024.18
8.2.140.0110.00724.66
8.2.130.0080.00026.16
8.2.120.0000.00821.08
8.2.110.0060.00320.34
8.2.100.0110.00017.72
8.2.90.0000.00719.22
8.2.80.0080.00018.05
8.2.70.0090.00017.63
8.2.60.0000.00817.80
8.2.50.0000.00919.25
8.2.40.0000.00818.14
8.2.30.0040.00421.21
8.2.20.0080.00017.61
8.2.10.0080.00017.74
8.2.00.0050.00317.62
8.1.280.0030.01325.92
8.1.270.0030.00623.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0100.00022.50
8.1.230.0040.00721.02
8.1.220.0000.00818.77
8.1.210.0050.00318.90
8.1.200.0040.00417.35
8.1.190.0000.00819.32
8.1.180.0030.00618.10
8.1.170.0080.00018.52
8.1.160.0040.00418.88
8.1.150.0080.00018.56
8.1.140.0000.00917.38
8.1.130.0070.00017.74
8.1.120.0040.00417.30
8.1.110.0040.00417.37
8.1.100.0000.00717.39
8.1.90.0000.00717.38
8.1.80.0020.00517.38
8.1.70.0030.00317.38
8.1.60.0030.00617.50
8.1.50.0000.00817.47
8.1.40.0080.00017.38
8.1.30.0080.00017.53
8.1.20.0040.00417.72
8.1.10.0060.00317.46
8.1.00.0030.00517.27
8.0.300.0040.00420.07
8.0.290.0040.00417.05
8.0.280.0050.00218.32
8.0.270.0000.00717.07
8.0.260.0040.00416.75
8.0.250.0030.00316.72
8.0.240.0080.00016.82
8.0.230.0050.00516.87
8.0.220.0040.00416.70
8.0.210.0000.00716.84
8.0.200.0050.00216.82
8.0.190.0070.00016.88
8.0.180.0050.00316.85
8.0.170.0040.00416.73
8.0.160.0000.00816.71
8.0.150.0030.00316.77
8.0.140.0040.00416.79
8.0.130.0050.00013.25
8.0.120.0000.00816.82
8.0.110.0040.00416.86
8.0.100.0070.00016.72
8.0.90.0000.00716.79
8.0.80.0360.00316.82
8.0.70.0000.00716.63
8.0.60.0000.00716.73
8.0.50.0040.00416.89
8.0.30.0140.00817.02
8.0.20.0130.00617.40
8.0.10.0040.00416.93
8.0.00.0080.01116.54
7.4.330.0020.00216.69
7.4.320.0000.00716.46
7.4.300.0030.00316.36
7.4.290.0000.00716.55
7.4.280.0030.00316.52
7.4.270.0070.00016.63
7.4.260.0000.00513.24
7.4.250.0040.00416.40
7.4.240.0040.00416.46
7.4.230.0070.00016.43
7.4.220.0030.01416.52
7.4.210.0040.01216.48
7.4.200.0050.00216.33
7.4.190.0070.00016.42
7.4.160.0000.01616.40
7.4.150.0090.00917.40
7.4.140.0180.00717.86
7.4.130.0090.00816.27
7.4.120.0120.00516.40
7.4.110.0090.00916.28
7.4.100.0140.00416.33
7.4.90.0130.00616.64
7.4.80.0050.01119.39
7.4.70.0120.00616.26
7.4.60.0130.01016.30
7.4.50.0050.00016.54
7.4.40.0070.01122.77
7.4.30.0000.01716.55
7.4.00.0070.01015.13
7.3.330.0000.00613.18
7.3.320.0000.00612.99
7.3.310.0000.00716.13
7.3.300.0040.00416.07
7.3.290.0090.00916.25
7.3.280.0090.00816.29
7.3.270.0180.00717.40
7.3.260.0100.01418.24
7.3.250.0100.00716.40
7.3.240.0140.00816.27
7.3.230.0030.01516.43
7.3.210.0090.00916.36
7.3.200.0110.00719.39
7.3.190.0090.01216.16
7.3.180.0120.00916.50
7.3.170.0040.01216.27
7.3.160.0060.01016.42
7.3.120.0040.00914.74
7.2.330.0180.00916.22
7.2.320.0160.00316.61
7.2.310.0070.01016.43
7.2.300.0090.01216.67
7.2.290.0070.01016.62
7.1.70.0000.00917.05
7.1.60.0090.01519.17
7.1.50.0300.00734.73
7.1.00.0070.03022.45
7.0.200.0060.00616.81
7.0.140.0170.06322.00
7.0.60.0100.07319.94
7.0.50.0030.07017.86
7.0.40.0030.04720.12
7.0.30.0130.05020.01
7.0.20.0300.07720.20
7.0.10.0030.04720.12
7.0.00.0070.05320.03
5.6.210.0130.08020.76
5.6.200.0070.05318.22
5.6.190.0100.09020.32
5.6.180.0130.05020.41
5.6.170.0430.06020.54
5.6.160.0070.08320.71
5.6.150.0030.06018.13
5.6.140.0100.08018.22
5.6.130.0100.08318.11
5.6.120.0030.04720.95
5.6.110.0100.07721.09
5.6.100.0170.06721.10
5.6.90.0170.05021.11
5.6.80.0070.04320.53
5.5.350.0130.08320.31
5.5.340.0100.07317.92
5.5.330.0100.07020.27
5.5.320.2930.04020.29
5.5.310.0100.04320.20
5.5.300.0070.03717.87
5.5.290.0070.08317.89
5.5.280.0100.05720.65
5.5.270.0030.07320.83
5.5.260.0130.08320.75
5.5.250.0070.07720.68
5.5.240.0100.07320.18
5.4.450.0070.08019.48
5.4.440.0070.05019.52
5.4.430.0970.03719.25
5.4.420.1600.03719.42
5.4.410.1530.03719.30
5.4.400.1530.03719.24
5.4.390.1530.04019.08
5.4.380.1600.03318.78
5.4.370.1700.02319.08
5.4.360.1770.04719.09
5.4.350.1530.04018.81
5.4.340.1600.04019.13
5.4.320.0000.05718.92
5.4.310.0670.04319.24
5.4.300.1500.03018.77
5.4.290.1400.04019.25
5.4.280.1500.03019.05
5.4.270.1330.03319.08
5.4.260.1500.03719.08
5.4.250.1430.04018.80
5.4.240.1600.04018.80
5.4.230.1500.03319.13
5.4.220.1530.03719.21
5.4.210.1500.04019.06
5.4.200.1500.03318.91
5.4.190.1530.03019.24
5.4.180.1700.05318.92
5.4.170.1570.04318.92
5.4.160.1630.03019.06
5.4.150.1870.04718.77
5.4.140.1530.03316.31
5.4.130.1700.05016.18
5.4.120.1470.03016.26
5.4.110.1500.03716.44
5.4.100.1630.04316.35
5.4.90.1530.04316.48
5.4.80.1630.04716.41
5.4.70.1700.04016.45
5.4.60.1500.04316.32
5.4.50.0000.03716.28
5.4.40.0030.07316.38
5.4.30.0030.04716.36
5.4.20.1170.04716.04
5.4.10.1570.04016.36
5.4.00.1570.04315.65
5.3.290.1630.04714.54
5.3.280.1670.04314.58
5.3.270.1400.04014.55
5.3.260.1700.04014.45
5.3.250.1630.04714.45
5.3.240.1500.04014.44
5.3.230.1730.03314.50
5.3.220.1700.04714.66
5.3.210.0370.05714.55
5.3.200.0130.05014.55
5.3.190.0200.03714.43
5.3.180.1870.04714.52
5.3.170.1870.04714.54
5.3.160.1830.04014.50
5.3.150.1730.03014.61
5.3.140.1630.03714.51
5.3.130.1530.03714.50
5.3.120.1700.04714.39
5.3.110.1300.03314.52
5.3.100.1770.04313.89
5.3.90.1700.04014.04
5.3.80.1530.03013.89
5.3.70.0070.06313.97
5.3.60.0000.04313.99
5.3.50.0730.06313.79
5.3.40.1730.04313.89
5.3.30.1670.03713.86
5.3.20.1630.03713.79
5.3.10.1830.04013.53
5.3.00.1700.04013.59
5.2.170.1300.03311.23
5.2.160.1600.03311.19
5.2.150.1530.03011.18
5.2.140.1570.03711.00
5.2.130.1370.02711.27
5.2.120.1500.03311.00
5.2.110.0530.03010.95
5.2.100.0000.03011.07
5.2.90.0030.03011.12
5.2.80.1000.03011.15
5.2.70.1730.04710.94
5.2.60.1670.03010.89
5.2.50.1630.03010.88
5.2.40.1100.03311.04
5.2.30.1270.03311.02
5.2.20.1100.02711.04
5.2.10.1030.02711.02
5.2.00.1030.03310.81
5.1.60.1130.02010.81
5.1.50.1130.02710.81
5.1.40.1070.02010.81
5.1.30.1270.03310.81
5.1.20.1330.03010.81
5.1.10.0730.03310.81
5.1.00.0030.02310.81
5.0.50.0030.02010.81
5.0.40.0030.02310.81
5.0.30.0030.03710.81
5.0.20.0000.02010.81
5.0.10.0000.02310.81
5.0.00.0500.04010.81
4.4.90.0630.02010.81
4.4.80.0570.01710.81
4.4.70.0570.01710.81
4.4.60.0530.01310.81
4.4.50.0570.01310.81
4.4.40.0630.03010.81
4.4.30.0670.02310.81
4.4.20.0700.01710.81
4.4.10.0670.02310.81
4.4.00.0630.02010.81
4.3.110.0630.02010.81
4.3.100.0530.01310.81
4.3.90.0700.01710.81
4.3.80.0630.02710.81
4.3.70.0600.02010.81
4.3.60.0530.01710.81
4.3.50.0700.01010.81
4.3.40.0670.03710.81
4.3.30.0270.01710.81
4.3.20.0300.02010.81
4.3.10.0270.01710.81
4.3.00.0130.02710.81

preferences:
39.4 ms | 401 KiB | 5 Q