3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'yellow-2.png', 'blue.png', 'orange.png', 'green.png', 'orange-2.png', 'red-2.png', 'black.png', 'yellow.png', 'red.png', ]; array_multisort(str_replace('-', '_', $array), $array); var_export($array);

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.0130.00819.84
8.4.150.0020.00014.05
8.4.140.0130.00819.27
8.4.130.0100.00717.73
8.4.120.0120.00922.46
8.4.110.0100.01022.18
8.4.100.0140.00618.85
8.4.90.0080.01217.43
8.4.80.0030.00517.55
8.4.70.0090.00719.58
8.4.60.0160.00717.59
8.4.50.0090.01217.57
8.4.40.0200.00319.39
8.4.30.0320.00719.27
8.4.20.0190.00019.18
8.4.10.0190.00019.36
8.3.280.0130.00718.36
8.3.270.0090.01216.41
8.3.260.0100.00916.54
8.3.250.0130.00618.66
8.3.240.0120.00716.91
8.3.230.0130.00616.62
8.3.220.0120.00517.23
8.3.210.0050.00216.43
8.3.200.0120.00716.63
8.3.190.0130.00516.70
8.3.180.0100.00917.23
8.3.170.0040.00419.05
8.3.160.0100.01016.23
8.3.150.0160.00518.02
8.3.140.0130.00716.29
8.3.130.0180.00016.18
8.3.120.0150.00216.12
8.3.110.0090.00916.36
8.3.100.0140.00716.28
8.3.90.0140.00616.50
8.3.80.0120.00818.20
8.3.70.0200.00016.07
8.3.60.0180.00316.19
8.3.50.0170.00416.21
8.3.40.0130.00317.36
8.3.30.0100.00717.25
8.3.20.0140.00317.08
8.3.10.0190.00017.34
8.3.00.0000.01018.94
8.2.290.0070.00520.28
8.2.280.0050.00418.18
8.2.270.0120.00617.92
8.2.260.0130.00416.50
8.2.250.0150.00416.18
8.2.240.0140.00416.34
8.2.230.0180.00016.31
8.2.220.0120.00616.26
8.2.210.0160.00016.31
8.2.200.0190.00016.39
8.2.190.0150.00316.14
8.2.180.0120.00616.00
8.2.170.0220.00017.32
8.2.160.0150.00419.18
8.2.150.0100.00719.11
8.2.140.0100.00717.20
8.2.130.0090.00917.45
8.2.120.0130.00417.19
8.2.110.0160.00317.32
8.2.100.0150.00417.25
8.2.90.0110.00517.35
8.2.80.0090.00917.12
8.2.70.0160.00317.31
8.2.60.0130.00417.05
8.2.50.0100.00717.03
8.2.40.0120.00417.02
8.2.30.0120.00517.17
8.2.20.0100.00617.22
8.2.10.0190.00017.12
8.2.00.0200.00017.10
8.1.320.0100.00617.91

preferences:
54.73 ms | 403 KiB | 5 Q