3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { throw Exception(); } catch (Exception $e) { echo 'Caught it' . PHP_EOL; throw $e; } finally { echo 'Finally!'; }

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.60.0070.00716.92
7.2.00.0120.00619.23
7.1.200.0070.00715.51
7.1.100.0300.01318.15
7.1.70.0000.00816.93
7.1.60.0120.01219.40
7.1.50.0090.01516.73
7.1.00.0030.07722.51
7.0.200.0070.00316.85
7.0.140.0000.07321.95
7.0.60.0100.08019.83
7.0.50.0030.05317.89
7.0.40.0100.08320.02
7.0.30.0330.07320.13
7.0.20.0100.04720.20
7.0.10.0030.06320.13
7.0.00.0100.08320.18
5.6.280.0000.07721.04
5.6.210.0100.07720.51
5.6.200.0000.04318.22
5.6.190.0100.06320.41
5.6.180.0530.07320.39
5.6.170.0330.07320.50
5.6.160.0100.08320.61
5.6.150.0070.08018.21
5.6.140.0070.06018.20
5.6.130.0070.05018.13
5.6.120.0000.04321.01
5.6.110.0130.05721.01
5.6.100.0170.08020.88
5.6.90.0070.08020.96
5.6.80.0000.04320.50
5.5.350.0230.08320.46
5.5.340.0030.06017.88
5.5.330.0030.04320.12
5.5.320.0370.05720.26
5.5.310.0200.08320.20
5.5.300.0100.08017.98
5.5.290.0070.05017.98
5.5.280.0200.07020.80
5.5.270.0130.08020.85
5.5.260.0100.08020.73
5.5.250.0000.06720.68
5.5.240.0000.08720.06
5.4.450.0270.05319.70
5.4.440.0700.04719.38
5.4.430.0500.05319.22
5.4.420.0600.04719.43
5.4.410.0100.06319.04
5.4.400.0400.05318.77
5.4.390.0400.05018.56
5.4.380.0270.03718.86
5.4.370.0100.03718.48
5.4.360.0070.04718.71
5.4.350.0070.03512.02
5.4.340.0090.03612.01
5.4.320.0060.03412.50
5.4.310.0040.04112.49
5.4.300.0070.03512.50
5.4.290.0080.04312.50
5.4.280.0060.03512.39
5.4.270.0080.03412.39
5.4.260.0060.03812.39
5.4.250.0040.04212.39
5.4.240.0080.03512.39
5.4.230.0070.03912.39
5.4.220.0080.03712.39
5.4.210.0110.03212.38
5.4.200.0090.04312.38
5.4.190.0070.04712.38
5.4.180.0050.04012.38
5.4.170.0030.03912.39
5.4.160.0060.03712.39
5.4.150.0040.04012.38
5.4.140.0060.04512.07
5.4.130.0090.03312.05
5.4.120.0040.03812.02
5.4.110.0060.03512.02
5.4.100.0070.03612.02
5.4.90.0090.03512.01
5.4.80.0090.03512.01
5.4.70.0070.03312.01
5.4.60.0040.03612.01
5.4.50.0050.03512.00
5.4.40.0040.03512.00
5.4.30.0070.03511.99
5.4.20.0080.04311.98
5.4.10.0100.03311.99
5.4.00.0020.04211.48
5.3.290.0090.03612.80
5.3.280.0050.04312.71
5.3.270.0070.03712.72
5.3.260.0080.04012.72
5.3.250.0070.03612.71
5.3.240.0080.03512.72
5.3.230.0060.03712.71
5.3.220.0060.03612.68
5.3.210.0100.03512.68
5.3.200.0060.03612.68
5.3.190.0060.04412.68
5.3.180.0070.04212.67
5.3.170.0090.03512.67
5.3.160.0090.03612.68
5.3.150.0090.04412.67
5.3.140.0060.03712.66
5.3.130.0050.03912.66
5.3.120.0090.03512.66
5.3.110.0080.04612.66
5.3.100.0070.03512.12
5.3.90.0050.03712.09
5.3.80.0080.03412.08
5.3.70.0090.04212.08
5.3.60.0120.03512.06
5.3.50.0060.04012.00
5.3.40.0100.03512.00
5.3.30.0080.03511.95
5.3.20.0070.03511.73
5.3.10.0070.03411.70
5.3.00.0070.03411.68
5.2.170.0040.0339.19
5.2.160.0030.0319.18
5.2.150.0070.0319.18
5.2.140.0070.0339.18
5.2.130.0080.0289.14
5.2.120.0040.0309.14
5.2.110.0050.0349.14
5.2.100.0030.0389.14
5.2.90.0070.0369.14
5.2.80.0040.0359.14
5.2.70.0090.0349.14
5.2.60.0040.0309.09
5.2.50.0040.0399.06
5.2.40.0040.0399.04
5.2.30.0070.0289.02
5.2.20.0070.0329.01
5.2.10.0090.0328.92
5.2.00.0060.0318.78
5.1.60.0100.0258.07
5.1.50.0050.0308.07
5.1.40.0070.0268.04
5.1.30.0090.0268.40
5.1.20.0040.0318.42
5.1.10.0040.0258.15
5.1.00.0050.0318.14
5.0.50.0060.0236.62
5.0.40.0040.0286.48
5.0.30.0030.0316.29
5.0.20.0020.0226.27
5.0.10.0040.0226.24
5.0.00.0040.0356.23
4.4.90.0040.0194.78
4.4.80.0050.0154.75
4.4.70.0030.0174.75
4.4.60.0050.0174.75
4.4.50.0010.0174.77
4.4.40.0030.0254.71
4.4.30.0050.0134.76
4.4.20.0050.0134.85
4.4.10.0010.0184.85
4.4.00.0000.0274.76
4.3.110.0040.0144.67
4.3.100.0020.0164.66
4.3.90.0020.0154.63
4.3.80.0060.0214.59
4.3.70.0020.0204.63
4.3.60.0030.0164.63
4.3.50.0010.0184.63
4.3.40.0050.0254.53
4.3.30.0020.0213.28
4.3.20.0030.0143.26
4.3.10.0030.0193.22
4.3.00.0030.0207.55