3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fn = array_sum(...); var_dump($fn(1, 2, 3));

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.20.0080.01020.27
8.5.10.0100.00816.77
8.5.00.0150.00622.85
8.4.170.0100.01123.80
8.4.160.0100.01023.28
8.4.150.0020.00014.05
8.4.140.0190.00617.82
8.4.130.0320.01117.58
8.4.120.0390.01217.69
8.4.110.0340.01217.80
8.4.100.0360.01317.59
8.4.90.0380.01017.41
8.4.80.0400.01117.39
8.4.70.0400.01118.01
8.4.60.0440.00817.75
8.4.50.0400.00817.69
8.4.40.0390.01317.79
8.4.30.0440.00917.43
8.4.20.0370.00817.33
8.4.10.0320.01217.80
8.3.300.0090.01118.97
8.3.290.0140.01118.45
8.3.280.0080.01120.16
8.3.270.0280.00616.54
8.3.260.0290.00616.49
8.3.250.0260.01116.68
8.3.240.0340.00516.40
8.3.230.0370.01016.55
8.3.220.0450.00516.27
8.3.210.0360.01016.30
8.3.200.0380.01416.46
8.3.190.0410.00616.30
8.3.180.0400.00916.48
8.3.170.0380.01116.39
8.3.160.0360.01316.26
8.3.150.0410.01216.34
8.3.140.0430.01216.28
8.3.130.0410.01116.60
8.3.120.0410.01116.50
8.3.110.0380.01316.43
8.3.100.0460.01216.55
8.3.90.0400.00816.53
8.3.80.0310.00916.45
8.3.70.0320.01016.61
8.3.60.0450.01016.46
8.3.50.0390.00816.50
8.3.40.0430.00617.40
8.3.30.0310.00917.37
8.3.20.0350.00917.25
8.3.10.0240.01217.56
8.3.00.0210.01017.35
8.2.300.0180.00318.34
8.2.290.0400.00616.37
8.2.280.0330.01216.59
8.2.270.0350.00716.59
8.2.260.0270.01116.54
8.2.250.0360.00316.81
8.2.240.0300.00916.50
8.2.230.0290.00716.38
8.2.220.0320.00616.33
8.2.210.0360.01016.49
8.2.200.0400.00816.36
8.2.190.0350.01116.42
8.2.180.0270.00816.67
8.2.170.0270.00417.68
8.2.160.0220.00817.50
8.2.150.0210.00817.24
8.2.140.0180.00517.21
8.2.130.0370.01317.30
8.2.120.0200.00217.48
8.2.110.0220.00417.23
8.2.100.0240.00717.47
8.2.90.0230.00217.42
8.2.80.0360.01017.41
8.2.70.0170.01217.25
8.2.60.0290.01117.14
8.2.50.0410.00917.25
8.2.40.0330.01017.18
8.2.30.0310.01317.28
8.2.20.0440.00617.52
8.2.10.0290.01217.20
8.2.00.0340.01217.63
8.1.340.0120.00817.75

preferences:
28.92 ms | 403 KiB | 5 Q