3v4l.org

run code in 300+ PHP versions simultaneously
<?php function run() { try { throw Exception ('a'); } finally { throw Exception ('b'); } } try { run(); } Catch (Exception $e) { var_dump($e->getMessage(), $e->getPrevious()->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.3.40.0150.00018.70
8.3.30.0110.00318.71
8.3.20.0040.00420.13
8.3.10.0090.00623.66
8.3.00.0030.00519.25
8.2.170.0110.00322.96
8.2.160.0030.01420.44
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00417.63
8.2.120.0040.00426.35
8.2.110.0070.01117.38
8.2.100.0100.00317.84
8.2.90.0000.00817.75
8.2.80.0080.00018.73
8.2.70.0060.00317.63
8.2.60.0040.00417.63
8.2.50.0000.00818.05
8.2.40.0000.00819.90
8.2.30.0000.00717.99
8.2.20.0030.00617.66
8.2.10.0040.00417.99
8.2.00.0040.00418.03
8.1.270.0030.00723.88
8.1.260.0070.00028.09
8.1.250.0030.00628.09
8.1.240.0030.00623.78
8.1.230.0100.00320.87
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0060.00318.66
8.1.160.0070.00018.76
8.1.150.0080.00018.90
8.1.140.0040.00419.40
8.1.130.0020.00517.41
8.1.120.0000.00717.47
8.1.110.0050.00217.39
8.1.100.0030.00517.45
8.1.90.0000.00717.30
8.1.80.0030.00617.41
8.1.70.0050.00217.43
8.1.60.0040.00417.51
8.1.50.0000.00817.51
8.1.40.0000.00917.42
8.1.30.0040.00717.62
8.1.20.0040.00417.60
8.1.10.0000.00817.56
8.1.00.0000.00717.49
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0030.00318.44
8.0.270.0080.00017.22
8.0.260.0030.00316.94
8.0.250.0000.00717.04
8.0.240.0030.00317.02
8.0.230.0000.00716.84
8.0.220.0040.00416.91
8.0.210.0000.00816.88
8.0.200.0070.00016.86
8.0.190.0030.00616.89
8.0.180.0040.00416.89
8.0.170.0040.00416.93
8.0.160.0030.00316.93
8.0.150.0050.00316.81
8.0.140.0000.00716.82
8.0.130.0030.00313.29
8.0.120.0060.00316.88
8.0.110.0040.00416.96
8.0.100.0050.00216.83
8.0.90.0070.00016.93
8.0.80.0030.01316.80
8.0.70.0000.00816.93
8.0.60.0070.00016.78
8.0.50.0080.00016.93
8.0.30.0150.00417.22
8.0.20.0080.01217.40
8.0.10.0040.00416.98
8.0.00.0090.00816.80
7.4.330.0000.00616.79
7.4.320.0000.00616.38
7.4.300.0000.00716.64
7.4.290.0030.00316.50
7.4.280.0030.00316.51
7.4.270.0060.00016.43
7.4.260.0040.00416.49
7.4.250.0030.00316.46
7.4.240.0000.00716.51
7.4.230.0030.00316.61
7.4.220.0160.00416.60
7.4.210.0070.01116.45
7.4.200.0040.00416.63
7.4.160.0040.01216.37
7.4.150.0140.00417.40
7.4.140.0110.01117.86
7.4.130.0120.00516.53
7.4.120.0100.01016.57
7.4.110.0060.01616.64
7.4.100.0070.01116.57
7.4.90.0100.01016.52
7.4.80.0080.01219.39
7.4.70.0030.01216.34
7.4.60.0040.01216.46
7.4.50.0110.00716.61
7.4.40.0120.00616.57
7.4.30.0120.00616.36
7.4.00.0090.00614.87
7.3.330.0030.00313.29
7.3.320.0030.00213.15
7.3.310.0070.00016.36
7.3.300.0030.00316.18
7.3.290.0070.00016.18
7.3.280.0160.00816.31
7.3.270.0120.00917.40
7.3.260.0030.01516.55
7.3.250.0090.01016.44
7.3.240.0080.01016.29
7.3.230.0070.01016.39
7.3.210.0100.00716.43
7.3.200.0090.00916.24
7.3.190.0090.01316.43
7.3.180.0120.00916.29
7.3.170.0100.01016.39
7.3.160.0110.00416.26
7.2.330.0110.00816.62
7.2.320.0030.01316.73
7.2.310.0060.01016.74
7.2.300.0120.00316.60
7.2.290.0110.00816.41
7.2.60.0030.01416.74
7.2.00.0100.01019.29
7.1.200.0030.01015.64
7.1.100.0040.00717.78
7.1.70.0000.00817.10
7.1.60.0090.01519.36
7.1.50.0060.01916.86
7.1.00.0070.07322.45
7.0.200.0000.01016.88
7.0.100.0030.08021.84
7.0.90.0170.07021.71
7.0.80.0330.02721.66
7.0.70.0070.04721.76
7.0.60.0200.06321.66
7.0.50.0100.03722.12
7.0.40.0100.08020.10
7.0.30.0130.07320.03
7.0.20.0100.05319.96
7.0.10.0100.08020.17
7.0.00.0100.07720.09
5.6.280.0070.02721.08
5.6.250.0000.04320.67
5.6.240.0070.06720.73
5.6.230.0100.07320.54
5.6.220.0070.08020.58
5.6.210.0070.08720.47
5.6.200.0100.07721.09
5.6.190.0100.04320.94
5.6.180.0170.07021.06
5.6.170.0100.08720.92
5.6.160.0130.07321.12
5.6.150.0100.07020.94
5.6.140.0200.07321.10
5.6.130.0130.05720.99
5.6.120.0130.08321.11
5.6.110.0030.06021.10
5.6.100.0070.08021.07
5.6.90.0000.04020.99
5.6.80.0130.05320.44
5.6.70.0070.03320.41
5.6.60.0170.06320.45
5.6.50.0130.07320.41
5.6.40.0100.06720.32
5.6.30.0070.05720.45
5.6.20.0100.05320.39
5.6.10.0030.05020.36
5.6.00.0030.08320.28
5.5.380.0070.08020.36
5.5.370.0100.04320.38
5.5.360.0100.08320.44
5.5.350.0000.05020.37
5.5.340.0030.04720.84
5.5.330.0070.06320.92
5.5.320.0100.08020.80
5.5.310.0030.06020.78
5.5.300.0070.04020.76
5.5.290.0170.07320.80
5.5.280.0070.08720.77
5.5.270.0100.09020.73
5.5.260.0100.04720.72
5.5.250.0000.04320.71
5.5.240.0100.07320.03
5.5.230.0030.08320.21
5.5.220.0030.04020.13
5.5.210.0070.08020.18
5.5.200.0070.08020.26
5.5.190.0000.05720.24
5.5.180.0100.07720.23
5.5.160.0000.06020.14
5.5.150.0130.07020.22
5.5.140.0100.04320.26
5.5.130.0130.07720.18
5.5.120.0100.06020.17
5.5.110.0170.06020.17
5.5.100.0070.06020.17
5.5.90.0000.05020.15
5.5.80.0100.07720.09
5.5.70.0070.05320.16
5.5.60.0030.08019.96
5.5.50.0070.07020.12
5.5.40.0030.08320.00
5.5.30.0100.07720.08
5.5.20.0130.04320.08
5.5.10.0100.07020.04
5.5.00.0000.08720.07

preferences:
43.6 ms | 400 KiB | 5 Q