3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace App { function run() { var_dump(time()); } } namespace { \App\run(); eval(' namespace App; function time() { return 555; } '); \App\run(); }

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.0.110.0030.00516.80
8.0.100.0000.00816.95
8.0.90.0000.00916.88
8.0.80.0030.01216.82
8.0.70.0040.00416.76
8.0.60.0040.00416.92
8.0.50.0040.00416.82
8.0.30.0150.00416.96
8.0.20.0080.01117.40
8.0.10.0030.00316.96
8.0.00.0110.00616.80
7.4.240.0070.00016.46
7.4.230.0030.00516.69
7.4.220.0150.00616.43
7.4.210.0060.01216.63
7.4.200.0030.00516.63
7.4.160.0100.00516.46
7.4.150.0120.00617.40
7.4.140.0130.00817.86
7.4.130.0060.01416.47
7.4.120.0090.01216.50
7.4.110.0100.00716.48
7.4.100.0110.00616.40
7.4.90.0070.01016.49
7.4.80.0070.01319.39
7.4.70.0090.00916.54
7.4.60.0090.00916.40
7.4.50.0070.01016.56
7.4.40.0110.00616.41
7.4.30.0080.00816.61
7.4.00.0030.01315.16
7.3.300.0000.00616.23
7.3.290.0030.00316.18
7.3.280.0090.01016.20
7.3.270.0030.01317.40
7.3.260.0100.00916.35
7.3.250.0080.00816.35
7.3.240.0130.00916.52
7.3.230.0030.01416.43
7.3.210.0140.00616.09
7.3.200.0060.01216.52
7.3.190.0110.00816.59
7.3.180.0080.00816.41
7.3.170.0110.00916.52
7.3.160.0150.00316.30
7.2.330.0130.00316.37
7.2.320.0130.01016.68
7.2.310.0130.00316.70
7.2.300.0070.01116.63
7.2.290.0070.01416.71
7.2.60.0030.01016.94
7.2.00.0040.01219.16
7.1.200.0050.00515.66
7.1.100.0070.00718.00
7.1.70.0030.00816.96
7.1.60.0040.00717.27
7.1.50.0070.01316.95
7.1.20.0830.04338.46
7.1.10.0400.06720.32
7.1.00.0570.05020.57
7.0.200.0060.00316.41
7.0.160.0500.05719.92
7.0.150.0430.06320.02
7.0.140.0630.04720.08
7.0.130.0530.05719.94
7.0.120.0500.05720.03
7.0.110.0570.05320.18
7.0.100.0430.06020.04
7.0.90.0470.06320.12
7.0.80.0530.05320.17
7.0.70.0500.06019.94
7.0.60.0670.04319.98
7.0.50.0570.05320.10
7.0.40.1230.05020.10
7.0.30.0770.06720.10
7.0.20.0530.05320.11
7.0.10.0530.06020.11
7.0.00.0530.05720.12

preferences:
42.92 ms | 799 KiB | 5 Q