3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 2; try { throw new \Exception(); } catch (\Exception $e) { throw new \RuntimeException(null, null, $e); } finally { echo $a; }

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.0100.00716.50
8.3.50.0100.00716.37
8.3.40.0110.00418.83
8.3.30.0060.00918.84
8.3.20.0130.00720.20
8.3.10.0020.00521.85
8.3.00.0000.00721.80
8.2.180.0060.01018.29
8.2.170.0070.01122.96
8.2.160.0100.01019.17
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00320.93
8.2.120.0040.00426.35
8.2.110.0090.00019.38
8.2.100.0040.00817.80
8.2.90.0040.00418.85
8.2.80.0030.00617.97
8.2.70.0000.00917.59
8.2.60.0060.00318.04
8.2.50.0050.00318.09
8.2.40.0050.00222.20
8.2.30.0040.00419.40
8.2.20.0040.00417.80
8.2.10.0030.00518.19
8.2.00.0060.00318.15
8.1.280.0060.00925.92
8.1.270.0090.00922.05
8.1.260.0120.00028.09
8.1.250.0070.00028.09
8.1.240.0070.00322.48
8.1.230.0070.00417.83
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0070.00020.77
8.1.150.0060.00320.67
8.1.140.0040.00419.56
8.1.130.0050.00317.71
8.1.120.0050.00317.49
8.1.110.0000.00717.53
8.1.100.0000.00717.40
8.1.90.0040.00417.49
8.1.80.0000.00817.38
8.1.70.0000.00717.50
8.1.60.0050.00317.63
8.1.50.0030.00617.48
8.1.40.0120.00017.37
8.1.30.0000.00817.71
8.1.20.0060.00317.49
8.1.10.0030.00517.56
8.1.00.0040.00417.47
8.0.300.0040.00418.77
8.0.290.0070.00016.88
8.0.280.0030.00318.44
8.0.270.0050.00317.24
8.0.260.0050.00217.32
8.0.250.0040.00416.93
8.0.240.0000.00816.91
8.0.230.0000.00616.86
8.0.220.0070.00016.91
8.0.210.0030.00316.87
8.0.200.0060.00016.98
8.0.190.0070.00616.88
8.0.180.0040.00416.96
8.0.170.0040.00416.82
8.0.160.0070.00016.86
8.0.150.0040.00416.90
8.0.140.0070.00016.79
8.0.130.0000.00613.42
8.0.120.0060.00316.87
8.0.110.0060.00316.91
8.0.100.0040.00416.91
8.0.90.0060.00316.86
8.0.80.0070.01016.84
8.0.70.0040.00416.98
8.0.60.0000.00816.75
8.0.50.0000.00717.02
8.0.30.0120.00617.00
8.0.20.0150.01117.40
8.0.10.0070.00016.94
8.0.00.0070.01116.79
7.4.330.0020.00216.89
7.4.320.0060.00016.46
7.4.300.0040.00416.46
7.4.290.0030.00316.45
7.4.280.0030.00516.64
7.4.270.0000.00616.56
7.4.260.0000.00716.53
7.4.250.0050.00216.61
7.4.240.0000.00716.49
7.4.230.0030.00316.70
7.4.220.0070.02016.53
7.4.210.0080.00516.56
7.4.200.0000.00716.45
7.4.160.0080.00816.55
7.4.150.0090.00917.40
7.4.140.0190.00417.86
7.4.130.0080.01216.50
7.4.120.0100.00616.51
7.4.110.0150.00416.55
7.4.100.0150.00616.77
7.4.90.0140.00316.34
7.4.80.0110.01119.39
7.4.70.0120.00616.61
7.4.60.0130.00316.57
7.4.50.0090.00616.56
7.4.40.0110.00716.32
7.4.30.0120.00916.48
7.4.00.0060.00715.06
7.3.330.0050.00013.07
7.3.320.0060.00013.09
7.3.310.0000.00616.46
7.3.300.0030.00316.36
7.3.290.0000.00716.38
7.3.280.0070.01016.37
7.3.270.0110.00717.40
7.3.260.0130.00316.42
7.3.250.0100.00716.36
7.3.240.0150.00216.46
7.3.230.0120.00616.39
7.3.210.0080.00816.55
7.3.200.0070.01419.39
7.3.190.0130.00316.57
7.3.180.0090.00616.55
7.3.170.0130.00316.47
7.3.160.0090.00616.52
7.2.330.0070.01016.73
7.2.320.0080.00816.59
7.2.310.0060.00916.62
7.2.300.0070.01016.77
7.2.290.0060.01116.61
7.2.60.0030.01416.90
7.2.00.0100.00719.27
7.1.200.0000.01515.94
7.1.100.0030.00717.98
7.1.70.0080.00016.92
7.1.60.0170.00719.40
7.1.50.0070.01517.07
7.1.00.0170.06322.30
7.0.200.0100.00016.70
7.0.60.0130.08321.85
7.0.50.0030.07317.77
7.0.40.0100.08020.07
7.0.30.0200.08720.01
7.0.20.0230.07020.20
7.0.10.0070.04720.00
7.0.00.0070.08320.19
5.6.280.0000.03320.78
5.6.210.0030.08320.76
5.6.200.0100.08718.18
5.6.190.0130.07720.49
5.6.180.0170.04320.41
5.6.170.0100.05020.56
5.6.160.0100.07020.46
5.6.150.0000.05018.25
5.6.140.0030.05018.25
5.6.130.0030.05718.22
5.6.120.0030.06020.89
5.6.110.0170.08021.11
5.6.100.0170.07721.11
5.6.90.0200.06720.96
5.6.80.0130.03020.36
5.5.350.0200.03720.34
5.5.340.0100.06318.08
5.5.330.0070.08720.18
5.5.320.0500.05320.28
5.5.310.0330.07320.18
5.5.300.0000.05017.98
5.5.290.0070.07317.98
5.5.280.0100.06020.89
5.5.270.0030.04320.72
5.5.260.0130.07720.83
5.5.250.0100.08020.61
5.5.240.0170.07320.15

preferences:
52.93 ms | 401 KiB | 5 Q