3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (is_a(NULL, Exception)) ? 'yes' : 'no';
based on hCDhQ

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.3.0rc40.0620.00698.97
7.3.0rc30.0240.00416.28
7.3.0beta10.0030.00612.56
7.3.0alpha10.0000.00512.63
7.2.60.0000.01416.74
7.2.00.0030.00719.32
7.1.200.0030.00715.61
7.1.100.0040.00418.00
7.1.70.0030.01016.62
7.1.60.0070.01419.32
7.1.50.0050.00516.52
7.1.00.0100.07022.51
7.0.200.0050.00316.68
7.0.140.0030.07722.00
7.0.60.0130.07719.82
7.0.50.0030.08717.88
7.0.40.0070.08020.04
7.0.30.0100.04720.02
7.0.20.0270.08320.01
7.0.10.0200.06320.13
7.0.00.0030.04720.09
5.6.280.0000.08321.02
5.6.210.0270.06320.55
5.6.200.0070.03718.10
5.6.190.0030.05320.77
5.6.180.0230.04320.36
5.6.170.0270.05320.73
5.6.160.0200.06720.54
5.6.150.0070.07318.13
5.6.140.0030.05318.11
5.6.130.0100.07018.21
5.6.120.0200.02720.96
5.6.110.0100.08321.11
5.6.100.0030.04021.08
5.6.90.0300.06720.95
5.6.80.0070.07720.36
5.6.70.0300.07020.36
5.5.350.0270.07720.46
5.5.340.0000.04318.00
5.5.330.0030.04720.57
5.5.320.0000.09020.57
5.5.310.0300.08020.34
5.5.300.0100.04318.01
5.5.290.0070.08717.95
5.5.280.0100.06720.81
5.5.270.0030.04020.96
5.5.260.0100.05020.95
5.5.250.0070.07720.55
5.5.240.0030.03720.22
5.4.450.0230.07019.45
5.4.440.1000.04019.48
5.4.430.0770.05019.63
5.4.420.0870.04719.13
5.4.410.0730.05019.39
5.4.400.0670.05719.20
5.4.390.0130.04718.92
5.4.380.0700.06019.14
5.4.370.0770.05718.92
5.4.360.0800.06319.26
5.4.350.0200.04318.78
5.4.340.0080.03211.97
5.4.320.0030.03812.45
5.4.310.0090.03912.45
5.4.300.0050.03912.45
5.4.290.0050.03812.45
5.4.280.0040.03712.34
5.4.270.0040.03812.35
5.4.260.0090.03512.34
5.4.250.0060.04512.34
5.4.240.0120.05012.34
5.4.230.0040.04112.34
5.4.220.0040.03712.34
5.4.210.0060.03412.34
5.4.200.0080.03512.34
5.4.190.0040.03712.33
5.4.180.0040.03712.33
5.4.170.0040.03712.34
5.4.160.0060.03512.34
5.4.150.0090.03312.34
5.4.140.0080.03512.02
5.4.130.0050.04112.01
5.4.120.0070.03311.96
5.4.110.0040.03711.96
5.4.100.0090.03111.96
5.4.90.0040.03811.96
5.4.80.0060.03611.96
5.4.70.0040.03611.96
5.4.60.0060.03511.96
5.4.50.0070.04811.96
5.4.40.0100.03111.95
5.4.30.0070.03511.95
5.4.20.0070.03511.95
5.4.10.0050.03611.95
5.4.00.0050.03611.44
5.3.290.0100.03512.80
5.3.280.0060.03712.71
5.3.270.0060.03712.72
5.3.260.0040.04012.72
5.3.250.0060.03712.71
5.3.240.0060.03712.72
5.3.230.0050.05612.70
5.3.220.0080.04312.68
5.3.210.0070.03712.68
5.3.200.0100.03212.68
5.3.190.0030.03912.68
5.3.180.0040.03812.68
5.3.170.0070.03412.67
5.3.160.0080.03412.68
5.3.150.0070.03612.67
5.3.140.0050.03712.66
5.3.130.0100.03412.66
5.3.120.0060.03812.66
5.3.110.0080.03612.66
5.3.100.0040.03812.11
5.3.90.0070.03512.08
5.3.80.0060.03512.07
5.3.70.0060.03512.07
5.3.60.0040.03812.06
5.3.50.0030.03812.00
5.3.40.0050.03612.00
5.3.30.0060.03411.94
5.3.20.0060.03911.72
5.3.10.0050.03411.69
5.3.00.0070.03411.68
5.2.170.0040.0309.18
5.2.160.0080.0259.18
5.2.150.0040.0309.18
5.2.140.0060.0359.18
5.2.130.0050.0289.13
5.2.120.0040.0289.13
5.2.110.0020.0319.14
5.2.100.0040.0289.13
5.2.90.0060.0289.14
5.2.80.0050.0309.13
5.2.70.0050.0309.13
5.2.60.0060.0299.08
5.2.50.0040.0319.05
5.2.40.0080.0279.03
5.2.30.0050.0299.01
5.2.20.0090.0249.00
5.2.10.0060.0268.92
5.2.00.0070.0268.77
5.1.60.0060.0218.06
5.1.50.0050.0238.05
5.1.40.0020.0268.04
5.1.30.0050.0258.39
5.1.20.0040.0268.41
5.1.10.0040.0268.13
5.1.00.0040.0258.13
5.0.50.0010.0236.61
5.0.40.0070.0156.47
5.0.30.0060.0286.29
5.0.20.0020.0206.25
5.0.10.0030.0206.23
5.0.00.0020.0316.22
4.4.90.0030.0154.78
4.4.80.0020.0164.75
4.4.70.0050.0134.75
4.4.60.0030.0144.76
4.4.50.0040.0144.77
4.4.40.0020.0264.71
4.4.30.0020.0164.76
4.4.20.0010.0174.85
4.4.10.0040.0144.85
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0020.0204.66
4.3.90.0040.0144.63
4.3.80.0030.0244.58
4.3.70.0040.0194.63
4.3.60.0040.0154.63
4.3.50.0040.0144.63
4.3.40.0030.0244.54
4.3.30.0030.0153.28
4.3.20.0040.0143.25
4.3.10.0020.0153.21
4.3.00.0170.0277.01