3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { try { throw new \ArithmeticError("Foo"); } finally { throw new \LogicException("Bar", 0, null); } } catch (\Throwable $e) { print_r($e); }

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.1.90.0070.00217.36
8.1.80.0050.00717.44
8.1.70.0110.00317.42
8.1.60.0100.00417.54
8.1.50.0080.00617.47
8.1.40.0110.00417.50
8.1.30.0070.00617.58
8.1.20.0060.00817.49
8.1.10.0120.00517.53
8.1.00.0100.00417.48
8.0.220.0100.00416.76
8.0.210.0090.00516.88
8.0.200.0050.01016.87
8.0.190.0070.00716.83
8.0.180.0070.00616.85
8.0.170.0070.00516.88
8.0.160.0070.00716.84
8.0.150.0110.00416.83
8.0.140.0090.00516.88
8.0.130.0090.00616.78
8.0.120.0100.00416.93
8.0.110.0080.00516.84
8.0.100.0090.00516.81
8.0.90.0100.00416.85
8.0.80.0040.00916.93
8.0.70.0090.00516.84
8.0.60.0100.00416.89
8.0.50.0090.00416.87
8.0.30.0100.00416.86
8.0.20.0090.00516.95
8.0.10.0070.00716.98
7.4.300.0080.00416.55
7.4.290.0090.00516.56
7.4.280.0100.00316.50
7.4.270.0090.00516.51
7.4.260.0090.00416.51
7.4.250.0060.00616.45
7.4.240.0060.00716.46
7.4.230.0070.00516.56
7.4.220.0040.00716.50
7.4.210.0060.00516.52
7.4.200.0060.00616.48
7.4.190.0080.00416.52
7.4.180.0090.00416.60
7.4.160.0080.00316.52
7.4.150.0080.00516.50
7.4.140.0090.00416.45
7.4.130.0070.00616.47
7.4.120.0080.00516.45
7.4.110.0070.00616.37
7.4.100.0080.00516.47
7.4.90.0060.00616.43
7.4.80.0060.00716.39
7.4.70.0090.00416.37
7.4.60.0070.00516.39
7.4.50.0030.01016.28
7.4.40.0060.00616.20
7.4.30.0090.00416.30
7.4.20.0050.00616.34
7.4.10.0080.00516.40
7.4.00.0080.00416.37

preferences:
11.4 ms | 406 KiB | 5 Q