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.3.40.0100.00720.23
8.3.30.0070.00718.89
8.3.20.0000.00724.18
8.3.10.0090.00024.66
8.3.00.0040.00426.16
8.2.170.0090.00622.96
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0000.00826.16
8.2.120.0000.00721.03
8.2.110.0030.00720.97
8.2.100.0120.00017.78
8.2.90.0080.00017.97
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0070.00017.92
8.2.50.0060.00318.07
8.2.40.0060.00318.03
8.2.30.0040.00417.95
8.2.20.0000.00720.49
8.2.10.0050.00217.93
8.2.00.0040.00419.14
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0070.00322.22
8.1.230.0030.00920.91
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.24
8.1.190.0040.00417.24
8.1.180.0030.00618.10
8.1.170.0030.00618.48
8.1.160.0000.00818.94
8.1.150.0040.00418.64
8.1.140.0040.00417.51
8.1.130.0030.00317.50
8.1.120.0040.00417.39
8.1.110.0040.00417.45
8.1.100.0040.00417.46
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.300.0040.00419.86
8.0.290.0000.00916.63
8.0.280.0030.00318.38
8.0.270.0030.00517.94
8.0.260.0060.00016.77
8.0.250.0070.00016.98
8.0.240.0040.00416.99
8.0.230.0000.00716.84
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.330.0000.00515.55
7.4.320.0000.00816.52
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:
53 ms | 400 KiB | 5 Q