3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrTags['banana'] = 3; $arrTags['mango'] = 2; $arrTags['apple1'] = 2; $arrTags['orange'] = 4; $arrTags['almond1'] = 2; array_multisort($arrTags, SORT_DESC, array_keys($arrTags), SORT_ASC, $arrTags); print_r($arrTags);

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.0090.00918.18
8.3.50.0090.00920.04
8.3.40.0000.01520.21
8.3.30.0040.01118.71
8.3.20.0000.00824.18
8.3.10.0060.00324.66
8.3.00.0040.00426.16
8.2.180.0110.00425.92
8.2.170.0060.00918.73
8.2.160.0040.01222.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00426.16
8.2.110.0030.00622.25
8.2.100.0090.00317.91
8.2.90.0000.00819.09
8.2.80.0060.00317.97
8.2.70.0060.00317.63
8.2.60.0000.00717.93
8.2.50.0030.00618.07
8.2.40.0000.00918.21
8.2.30.0050.00318.00
8.2.20.0040.00419.35
8.2.10.0000.00718.16
8.2.00.0050.00319.23
8.1.280.0060.00925.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00319.22
8.1.230.0060.00617.70
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0040.00418.38
8.1.160.0070.00018.74
8.1.150.0000.00718.51
8.1.140.0000.00717.33
8.1.130.0030.00318.87
8.1.120.0070.00017.22
8.1.110.0050.00317.34
8.1.100.0080.00817.13
8.1.90.0120.00417.34
8.1.80.0100.00517.23
8.1.70.0150.00217.34
8.1.60.0100.00717.33
8.1.50.0140.00517.33
8.1.40.0130.00317.45
8.1.30.0050.00917.29
8.1.20.0130.00417.35
8.1.10.0140.00517.33
8.1.00.0100.00317.45
8.0.300.0030.00618.77
8.0.290.0000.00716.58
8.0.280.0000.00718.32
8.0.270.0070.00017.88
8.0.260.0000.00618.23
8.0.250.0030.00316.83
8.0.240.0080.00016.72
8.0.230.0050.00816.72
8.0.220.0160.00016.63
8.0.210.0090.00516.63
8.0.200.0070.00716.68
8.0.190.0100.00516.79
8.0.180.0100.00516.64
8.0.170.0150.00016.77
8.0.160.0090.00616.73
8.0.150.0150.00016.61
8.0.140.0150.00016.75
8.0.130.0120.00416.67
8.0.120.0130.00416.76
8.0.110.0070.00716.70
8.0.100.0120.00316.66
8.0.90.0100.00516.75
8.0.80.0100.00516.70
8.0.70.0050.01016.64
8.0.60.0000.00716.70
8.0.50.0070.00716.69
8.0.30.0100.00516.70
8.0.20.0000.01116.68
8.0.10.0040.00816.75
7.4.330.0000.00515.55
7.4.320.0030.00316.54
7.4.300.0140.00016.25
7.4.290.0100.00516.45
7.4.280.0090.00516.53
7.4.270.0140.00016.33
7.4.260.0130.00016.54
7.4.250.0080.00416.37
7.4.240.0130.00016.41
7.4.230.0060.01016.29
7.4.220.0000.01216.25
7.4.210.0060.00616.50
7.4.200.0110.00416.46
7.4.190.0040.00916.57
7.4.180.0090.00616.55
7.4.160.0140.00016.38
7.4.150.0060.00916.28
7.4.140.0090.00616.50
7.4.130.0140.00016.48
7.4.120.0120.00316.45
7.4.110.0060.00616.21
7.4.100.0090.00616.47
7.4.90.0090.00516.42
7.4.80.0090.00616.43
7.4.70.0070.00716.50
7.4.60.0070.00716.28
7.4.50.0070.00716.29
7.4.40.0070.00716.18
7.4.30.0090.00516.37
7.4.20.0120.00216.43
7.4.10.0050.01016.35
7.4.00.0080.00416.39

preferences:
31.77 ms | 400 KiB | 5 Q