3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { throw new Exception('base exception'); } catch (Throwable $t) { throw new Exception('event exception'); } finally { echo $t->getMessage(); }

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.30.0100.00719.57
8.5.20.0120.00422.09
8.5.10.0090.00820.23
8.5.00.0140.00720.27
8.4.180.0150.00719.77
8.4.170.0160.00920.47
8.4.160.0160.00722.26
8.4.150.0020.00014.05
8.4.140.0160.00617.84
8.4.130.0050.00417.78
8.4.120.0130.00623.87
8.4.110.0120.00421.77
8.4.100.0040.00518.86
8.4.90.0170.00318.92
8.4.80.0030.00518.85
8.4.70.0150.00718.23
8.4.60.0080.00418.58
8.4.50.0120.00818.82
8.4.40.0030.00617.74
8.4.30.0030.00720.68
8.4.20.0100.00323.82
8.4.10.0090.00024.10
8.3.300.0100.01020.93
8.3.290.0120.00720.82
8.3.280.0110.01118.50
8.3.270.0120.00816.77
8.3.260.0040.00517.22
8.3.250.0130.00518.77
8.3.240.0090.01116.97
8.3.230.0110.00816.73
8.3.220.0070.00718.72
8.3.210.0070.00816.64
8.3.200.0040.00416.75
8.3.190.0090.01017.23
8.3.180.0050.00517.06
8.3.170.0040.00422.85
8.3.160.0100.00717.08
8.3.150.0110.00717.13
8.3.140.0090.00916.59
8.3.130.0040.00418.69
8.3.120.0000.00918.78
8.3.110.0120.00620.94
8.3.100.0140.00324.06
8.3.90.0000.00926.77
8.3.80.0030.00617.97
8.3.70.0120.00318.43
8.3.60.0140.00316.62
8.3.50.0220.00016.79
8.3.40.0090.00620.04
8.3.30.0120.00418.72
8.3.20.0070.00024.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.300.0110.00823.69
8.2.290.0120.00720.51
8.2.280.0120.00718.39
8.2.270.0090.00916.91
8.2.260.0040.00418.30
8.2.250.0080.00018.59
8.2.240.0060.00317.05
8.2.230.0040.00422.58
8.2.220.0030.00637.54
8.2.210.0150.00026.77
8.2.200.0100.00016.75
8.2.190.0090.00616.58
8.2.180.0070.01416.63
8.2.170.0150.00618.96
8.2.160.0140.00022.96
8.2.150.0050.00225.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0020.00526.16
8.2.110.0050.00522.25
8.2.100.0120.00017.76
8.2.90.0000.00817.63
8.2.80.0060.00319.09
8.2.70.0050.00517.63
8.2.60.0050.00317.75
8.2.50.0000.00817.55
8.2.40.0130.00717.62
8.2.30.0120.00617.62
8.2.20.0130.00417.62
8.2.10.0090.00917.62
8.2.00.0090.00917.63
8.1.340.0120.00817.86
8.1.330.0090.01022.03
8.1.320.0100.00916.32
8.1.310.0070.01116.73
8.1.300.0130.00717.95
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00320.65
8.1.230.0070.00417.57
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0030.00517.53
8.1.180.0000.00918.10
8.1.170.0140.00317.62
8.1.160.0120.00817.62
8.1.150.0060.01217.62
8.1.140.0140.00617.62
8.1.130.0120.00517.62
8.1.120.0130.00617.62
8.1.110.0100.01017.62
8.1.100.0130.00617.62
8.1.90.0070.01017.62
8.1.80.0120.00417.62
8.1.70.0030.01317.62
8.1.60.0180.00017.62
8.1.50.0080.00817.62
8.1.40.0130.00417.62
8.1.30.0150.00317.62
8.1.20.0140.00417.62
8.1.10.0120.00617.62
8.1.00.0100.00717.62
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0070.00717.62
8.0.270.0120.00317.62
8.0.260.0130.00317.62
8.0.250.0090.00617.62
8.0.240.0080.00817.62
8.0.230.0040.01817.62
8.0.220.0040.01317.62
8.0.210.0160.00017.62
8.0.200.0130.00417.62
8.0.190.0040.01317.62
8.0.180.0190.00017.62
8.0.170.0170.00017.62
8.0.160.0130.00317.62
8.0.150.0100.00717.62
8.0.140.0080.00817.62
8.0.130.0150.00217.62
8.0.120.0170.00017.62
8.0.110.0090.00917.62
8.0.100.0140.00317.62
8.0.90.0140.00217.62
8.0.80.0110.00617.62
8.0.70.0130.00317.62
8.0.60.0140.00317.62
8.0.50.0130.00317.62
8.0.30.0060.01017.62
8.0.20.0120.00517.62
8.0.10.0130.00317.62

preferences:
113.72 ms | 403 KiB | 5 Q