3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['percent' => 70.12, 'txt' =>'test'], ['percent' => 64.97, 'txt' =>'test'], ['percent' => 89.78,'txt' =>'test'] ]; rsort($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.10.0100.00816.57
8.5.00.0130.00819.93
8.4.160.0120.00923.84
8.4.150.0020.00114.05
8.4.140.0090.01117.36
8.4.130.0100.01018.54
8.4.120.0120.00820.51
8.4.110.0080.00920.47
8.4.100.0120.00818.76
8.4.90.0080.01220.60
8.4.80.0050.00418.85
8.4.70.0040.00418.85
8.4.60.0160.00518.80
8.4.50.0100.00718.69
8.4.40.0100.01017.51
8.4.30.0370.01117.24
8.4.20.0350.00617.26
8.4.10.0390.00317.26
8.3.280.0110.01118.29
8.3.270.0080.01516.50
8.3.260.0130.00716.44
8.3.250.0050.00717.30
8.3.240.0130.00716.59
8.3.230.0120.00716.60
8.3.220.0020.00518.85
8.3.210.0120.00616.49
8.3.200.0040.00516.58
8.3.190.0110.00717.04
8.3.180.0110.00818.72
8.3.170.0120.00616.91
8.3.160.0420.00316.29
8.3.150.0330.01316.31
8.3.140.0400.00616.26
8.3.130.0290.01116.09
8.3.120.0320.01016.27
8.3.110.0310.01016.16
8.3.100.0500.00316.32
8.3.90.0280.01716.43
8.3.80.0390.00716.32
8.3.70.0410.00715.98
8.3.60.0330.00916.26
8.3.50.0380.00716.36
8.3.40.0360.00417.20
8.3.30.0230.01017.27
8.3.20.0270.01017.21
8.3.10.0210.01217.26
8.3.00.0100.01117.17
8.2.290.0100.01017.07
8.2.280.0040.00418.61
8.2.270.0340.00416.40
8.2.260.0320.01016.25
8.2.250.0340.00316.36
8.2.240.0320.00616.36
8.2.230.0290.01016.16
8.2.220.0380.00016.25
8.2.210.0350.00316.29
8.2.200.0320.00616.70
8.2.190.0310.01016.00
8.2.180.0280.01016.48
8.2.170.0330.01017.53
8.2.160.0370.00317.52
8.2.150.0370.00317.32
8.2.140.0350.00617.52
8.2.130.0300.01017.44
8.2.120.0240.01617.47
8.2.110.0380.00317.25
8.2.100.0350.00917.38
8.2.90.0320.01117.49
8.2.80.0450.00017.08
8.2.70.0260.00817.45
8.2.60.0290.00317.24
8.2.50.0270.01217.29
8.2.40.0260.01017.58
8.2.30.0300.00717.32
8.2.20.0310.00617.56
8.2.10.0260.00817.14
8.2.00.0330.00317.34
8.1.320.0080.00715.97

preferences:
40.3 ms | 403 KiB | 5 Q