3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo() { return []; } rsort(foo());

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.4.120.0040.00420.64
8.4.110.0100.01120.52
8.4.100.0110.00818.53
8.4.90.0090.00917.56
8.4.80.0110.01219.39
8.4.70.0120.00717.68
8.4.60.0110.01120.55
8.4.50.0110.01020.14
8.4.40.0100.01017.45
8.4.30.0100.01022.05
8.4.20.0080.00819.33
8.4.10.0080.00819.36
8.3.250.0050.00316.96
8.3.240.0130.00916.65
8.3.230.0110.00916.52
8.3.220.0110.00816.76
8.3.210.0120.00916.49
8.3.200.0040.00516.63
8.3.190.0140.00617.20
8.3.180.0100.00818.89
8.3.170.0140.00416.89
8.3.160.0060.01018.41
8.3.150.0190.00017.15
8.3.140.0000.00817.18
8.3.130.0120.00216.47
8.3.120.0270.00316.48
8.3.110.0260.00616.42
8.3.100.0300.00616.56
8.3.90.0270.00316.54
8.3.80.0270.00516.51
8.3.70.0190.00516.53
8.3.60.0250.00316.48
8.3.50.0260.00616.66
8.3.40.0170.01517.14
8.3.30.0200.01117.35
8.3.20.0200.01017.00
8.3.10.0150.00817.22
8.3.00.0040.01217.06
8.2.290.0140.00520.22
8.2.280.0090.00618.20
8.2.270.0040.00818.33
8.2.260.0140.00416.61
8.2.250.0070.00117.56
8.2.240.0140.00616.25
8.2.230.0160.00716.16
8.2.220.0100.00916.47
8.2.210.0170.00117.48
8.2.200.0110.00716.17
8.2.190.0180.00116.51
8.2.180.0160.00416.46
8.2.170.0170.00317.52
8.2.160.0120.00717.40
8.2.150.0130.00717.18
8.2.140.0190.00317.16
8.2.130.0150.00317.09
8.2.120.0100.00817.14
8.2.110.0140.00417.13
8.2.100.0110.00717.26
8.2.90.0140.00417.04
8.2.80.0140.00317.21
8.2.70.0140.00317.00
8.2.60.0120.00617.13
8.2.50.0100.01016.95
8.2.40.0150.00317.03
8.2.30.0120.00617.15
8.2.20.0170.00117.20
8.2.10.0140.00217.22
8.2.00.0130.00517.09
8.1.330.0080.01021.95
8.1.320.0080.01116.28
8.1.310.0090.00016.24
8.1.300.0170.00016.05
8.1.290.0140.00316.05
8.1.280.0070.01116.05
8.1.270.0130.00516.96
8.1.260.0110.00617.02
8.1.250.0150.00416.75
8.1.240.0100.00616.95
8.1.230.0100.00916.66
8.1.220.0110.00517.03
8.1.210.0120.00516.81
8.1.200.0140.00117.02
8.1.190.0150.00316.50
8.1.180.0120.00516.88
8.1.170.0150.00216.73
8.1.160.0140.00516.88
8.1.150.0140.00316.89
8.1.140.0120.00516.86
8.1.130.0130.00316.92
8.1.120.0110.00516.86
8.1.110.0140.00416.86
8.1.100.0130.00416.98
8.1.90.0130.00416.87
8.1.80.0180.00016.73
8.1.70.0140.00216.91
8.1.60.0160.00217.19
8.1.50.0140.00616.90
8.1.40.0140.00416.88
8.1.30.0080.01017.12
8.1.20.0130.00516.99
8.1.10.0130.00517.03
8.1.00.0100.00816.93

preferences:
28 ms | 403 KiB | 5 Q