3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace A; use function foo as exit; function foo() { print "FOO!\n"; exit(); }

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.110.0420.00817.79
8.4.100.0420.00817.93
8.4.90.0380.01117.82
8.4.80.0230.00517.82
8.4.70.0160.00717.90
8.4.60.0160.00517.70
8.4.50.0210.00217.78
8.4.40.0180.00517.60
8.4.30.0390.01217.54
8.4.20.0440.00917.19
8.4.10.0400.01217.48
8.3.240.0370.01116.48
8.3.230.0320.01016.61
8.3.220.0380.00616.52
8.3.210.0260.00416.73
8.3.200.0240.00516.47
8.3.190.0420.00716.61
8.3.180.0410.00616.74
8.3.170.0400.00816.68
8.3.160.0430.00716.62
8.3.150.0230.01016.52
8.3.140.0420.00716.82
8.3.130.0320.00716.70
8.3.120.0180.00416.57
8.3.110.0240.00416.38
8.3.100.0390.00816.30
8.3.90.0190.00416.63
8.3.80.0270.00216.58
8.3.70.0380.00916.37
8.3.60.0250.00516.59
8.3.50.0290.00616.43
8.3.40.0350.00817.53
8.3.30.0340.00617.33
8.3.20.0350.01217.35
8.3.10.0270.00317.64
8.3.00.0070.00417.64
8.2.290.0280.01016.48
8.2.280.0140.00716.59
8.2.270.0190.00416.47
8.2.260.0210.00316.38
8.2.250.0190.00116.75
8.2.240.0170.00516.23
8.2.230.0160.00416.46
8.2.220.0160.00616.25
8.2.210.0180.00316.64
8.2.200.0140.00616.55
8.2.190.0180.00316.63
8.2.180.0170.00416.57
8.2.170.0220.00517.39
8.2.160.0180.00317.41
8.2.150.0170.00417.37
8.2.140.0220.00217.41
8.2.130.0190.00617.24
8.2.120.0190.00917.36
8.2.110.0200.00317.28
8.2.100.0170.00417.15
8.2.90.0190.00417.41
8.2.80.0150.00717.14
8.2.70.0170.00517.33
8.2.60.0160.00417.38
8.2.50.0170.00417.02
8.2.40.0200.00317.45
8.2.30.0190.00217.43
8.2.20.0160.00617.38
8.2.10.0220.00316.52
8.2.00.0160.00717.25

preferences:
53.59 ms | 765 KiB | 4 Q