3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { try { try { throw new Exception(1); } catch (Exception $e) { throw new Exception(2, 0, $e); } } finally { throw new Exception(3); } } catch (Exception $e) { echo $e->getMessage() . PHP_EOL; echo $e . PHP_EOL; }

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.60.0070.01816.63
8.3.50.0120.00316.59
8.3.40.0090.00918.66
8.3.30.0070.00718.84
8.3.20.0080.00020.34
8.3.10.0030.00523.48
8.3.00.0000.00723.51
8.2.180.0110.01116.73
8.2.170.0070.00722.96
8.2.160.0130.00020.43
8.2.150.0040.00424.18
8.2.140.0150.00024.66
8.2.130.0090.00020.87
8.2.120.0080.00026.35
8.2.110.0040.00420.92
8.2.100.0040.00817.91
8.2.90.0040.00419.64
8.2.80.0060.00317.97
8.2.70.0030.00717.63
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0040.00422.36
8.2.30.0040.00420.62
8.2.20.0070.00017.69
8.2.10.0040.00417.93
8.2.00.0040.00417.93
8.1.280.0070.00725.92
8.1.270.0150.00620.24
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0050.00322.14
8.1.230.0040.00721.10
8.1.220.0000.00717.78
8.1.210.0000.00818.77
8.1.200.0090.00017.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00818.52
8.1.160.0040.00420.78
8.1.150.0060.00318.80
8.1.140.0000.00819.57
8.1.130.0000.00717.70
8.1.120.0030.00317.53
8.1.110.0080.00017.49
8.1.100.0030.00517.29
8.1.90.0000.00817.36
8.1.80.0000.01017.51
8.1.70.0030.00317.47
8.1.60.0040.00417.47
8.1.50.0060.00317.43
8.1.40.0080.00017.54
8.1.30.0040.00417.63
8.1.20.0030.00517.61
8.1.10.0040.00417.47
8.1.00.0040.00417.44
8.0.300.0030.00520.07
8.0.290.0040.00416.75
8.0.280.0000.00718.36
8.0.270.0030.00317.26
8.0.260.0040.00417.32
8.0.250.0000.00617.02
8.0.240.0060.00317.01
8.0.230.0070.00017.03
8.0.220.0000.00816.96
8.0.210.0000.00816.87
8.0.200.0070.00017.03
8.0.190.0060.00317.05
8.0.180.0040.00416.95
8.0.170.0040.00416.86
8.0.160.0040.00416.95
8.0.150.0070.00016.93
8.0.140.0060.00616.91
8.0.130.0060.00013.43
8.0.120.0000.00716.88
8.0.110.0040.00417.00
8.0.100.0040.00416.98
8.0.90.0050.00216.91
8.0.80.0130.00716.85
8.0.70.0030.00516.82
8.0.60.0040.00416.95
8.0.50.0040.00416.90
8.0.30.0120.00417.14
8.0.20.0120.00817.40
8.0.10.0040.00416.91
8.0.00.0100.00816.78
7.4.330.0000.00516.85
7.4.320.0030.00316.62
7.4.300.0030.00316.64
7.4.290.0000.00716.49
7.4.280.0040.00416.59
7.4.270.0030.00316.60
7.4.260.0040.00416.59
7.4.250.0070.00016.59
7.4.240.0040.00316.51
7.4.230.0030.00316.53
7.4.220.0180.00316.71
7.4.210.0040.01016.51
7.4.200.0030.00416.55
7.4.160.0060.00916.36
7.4.150.0120.00617.40
7.4.140.0060.01117.86
7.4.130.0090.00916.58
7.4.120.0100.01016.62
7.4.110.0030.01416.55
7.4.100.0100.00716.49
7.4.90.0100.00716.39
7.4.80.0100.00719.39
7.4.70.0060.01416.55
7.4.60.0030.01316.44
7.4.50.0030.00916.63
7.4.40.0080.00816.53
7.4.30.0120.00916.35
7.4.00.0070.00715.08
7.3.330.0050.00013.16
7.3.320.0050.00013.16
7.3.310.0000.00716.42
7.3.300.0000.00616.27
7.3.290.0100.00516.35
7.3.280.0100.00816.34
7.3.270.0070.01017.40
7.3.260.0110.00616.49
7.3.250.0090.01016.46
7.3.240.0110.00616.49
7.3.230.0040.01616.59
7.3.210.0080.00816.28
7.3.200.0080.01216.48
7.3.190.0110.00816.31
7.3.180.0080.00816.41
7.3.170.0070.01316.43
7.3.160.0120.00316.47
7.2.330.0060.01216.43
7.2.320.0110.00616.46
7.2.310.0170.00016.25
7.2.300.0060.01016.73
7.2.290.0160.00016.68
7.2.60.0030.00916.95
7.2.00.0040.01119.22
7.1.200.0080.00815.90
7.1.100.0030.01018.07
7.1.70.0000.00717.13
7.1.60.0140.01019.52
7.1.50.0000.02116.64
7.1.00.0100.07022.28
7.0.200.0030.00616.74
7.0.60.0100.08319.95
7.0.50.0100.07317.89
7.0.40.0070.07720.27
7.0.30.0270.04720.04
7.0.20.0170.05020.33
7.0.10.0070.04320.00
7.0.00.0100.04720.11
5.6.280.0030.05720.78
5.6.210.0100.06720.76
5.6.200.0030.05718.25
5.6.190.0030.07020.63
5.6.180.0230.03320.46
5.6.170.0370.04320.45
5.6.160.0200.03320.46
5.6.150.0100.05318.23
5.6.140.0070.08018.27
5.6.130.0030.04018.14
5.6.120.0070.05721.03
5.6.110.0130.07721.11
5.6.100.0070.04721.11
5.6.90.0170.07320.98
5.6.80.0030.05720.35
5.5.350.0130.05020.38
5.5.340.0030.04317.95
5.5.330.0130.07720.43
5.5.320.0230.03720.26
5.5.310.0370.07020.38
5.5.300.0100.06318.05
5.5.290.0030.09017.98
5.5.280.0070.08320.98
5.5.270.0030.04020.60
5.5.260.0100.06020.86
5.5.250.0100.07020.68
5.5.240.0330.06720.35

preferences:
63.3 ms | 401 KiB | 5 Q