3v4l.org

run code in 300+ PHP versions simultaneously
<?php function e() { try { throw new Exception(); } catch ($e Exception) { print 'catching and returning'; return; } finally { print 'hi from finally'; } } 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)
5.4.350.0110.03212.03
5.4.340.0040.04212.03
5.4.320.0090.03512.52
5.4.310.0070.04512.52
5.4.300.0070.03812.52
5.4.290.0050.04212.52
5.4.280.0070.03512.41
5.4.270.0050.03912.41
5.4.260.0070.04212.41
5.4.250.0050.04112.41
5.4.240.0080.03912.41
5.4.230.0090.03612.41
5.4.220.0090.04312.40
5.4.210.0090.03612.40
5.4.200.0060.03912.41
5.4.190.0060.04512.40
5.4.180.0100.03612.40
5.4.170.0060.04112.41
5.4.160.0070.03812.40
5.4.150.0100.03612.39
5.4.140.0050.04412.09
5.4.130.0080.04812.07
5.4.120.0080.03912.04
5.4.110.0100.05312.04
5.4.100.0130.04112.03
5.4.90.0100.04912.04
5.4.80.0030.05312.03
5.4.70.0080.04612.03
5.4.60.0050.04412.02
5.4.50.0080.03912.02
5.4.40.0070.04112.02
5.4.30.0090.03512.01
5.4.20.0060.04212.01
5.4.10.0060.03712.01
5.4.00.0070.03511.50
5.3.290.0120.03712.80
5.3.280.0050.04512.71
5.3.270.0070.04512.72
5.3.260.0090.03612.72
5.3.250.0050.04012.72
5.3.240.0070.03812.72
5.3.230.0070.03812.71
5.3.220.0050.04212.68
5.3.210.0050.04112.68
5.3.200.0080.03612.68
5.3.190.0070.04312.68
5.3.180.0070.03812.67
5.3.170.0100.03712.67
5.3.160.0100.05412.68
5.3.150.0070.05312.67
5.3.140.0080.04612.66
5.3.130.0050.04612.66
5.3.120.0090.04512.66
5.3.110.0110.06212.65
5.3.100.0090.06312.13
5.3.90.0070.03912.11
5.3.80.0050.04012.09
5.3.70.0060.03912.09
5.3.60.0060.04012.08
5.3.50.0070.03812.02
5.3.40.0040.04012.02
5.3.30.0120.04711.98
5.3.20.0130.05111.76
5.3.10.0080.04011.74
5.3.00.0110.04211.72
5.2.170.0080.0359.22
5.2.160.0090.0399.22
5.2.150.0050.0449.22
5.2.140.0100.0389.21
5.2.130.0050.0319.17
5.2.120.0060.0299.17
5.2.110.0060.0289.18
5.2.100.0060.0299.18
5.2.90.0090.0389.18
5.2.80.0080.0329.17
5.2.70.0060.0329.18
5.2.60.0040.0379.13
5.2.50.0030.0359.10
5.2.40.0060.0339.07
5.2.30.0040.0319.05
5.2.20.0060.0299.04
5.2.10.0080.0298.95
5.2.00.0060.0308.80
5.1.60.0030.0258.09
5.1.50.0050.0248.08
5.1.40.0040.0268.06
5.1.30.0070.0258.42
5.1.20.0080.0278.43
5.1.10.0110.0318.16
5.1.00.0060.0348.16
5.0.50.0100.0386.64
5.0.40.0070.0276.50
5.0.30.0050.0416.31
5.0.20.0090.0256.29
5.0.10.0040.0266.26
5.0.00.0030.0326.25
4.4.90.0060.0164.78
4.4.80.0030.0154.75
4.4.70.0030.0154.75
4.4.60.0060.0164.76
4.4.50.0040.0214.77
4.4.40.0040.0334.71
4.4.30.0030.0164.76
4.4.20.0030.0164.84
4.4.10.0050.0174.85
4.4.00.0020.0294.76
4.3.110.0030.0214.67
4.3.100.0020.0164.67
4.3.90.0020.0164.63
4.3.80.0010.0274.59
4.3.70.0040.0304.63
4.3.60.0020.0194.63
4.3.50.0040.0164.63
4.3.40.0030.0254.54
4.3.30.0020.0173.30
4.3.20.0010.0173.27
4.3.10.0030.0153.24
4.3.00.0130.0206.71

preferences:
140.96 ms | 1398 KiB | 7 Q