3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $n=11;$m=50; while($n<=$m) { echo ($n*2).' '; $n=$n+1; } ?>
based on IN6Yv

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.0160.00798.97
7.2.00.0060.00619.20
7.1.100.0000.01318.29
7.1.70.0000.00817.25
7.1.60.0100.00719.46
7.1.50.0040.01416.94
7.1.00.0030.07722.43
7.0.200.0000.00716.73
7.0.140.0070.07022.09
7.0.60.0100.03319.83
7.0.50.0100.06317.89
7.0.40.0170.05320.00
7.0.30.0230.04320.20
7.0.20.0300.07020.00
7.0.10.0030.05020.02
7.0.00.0030.05720.17
5.6.280.0030.07320.77
5.6.210.0030.08320.74
5.6.200.0000.04318.21
5.6.190.0070.08720.41
5.6.180.0230.06020.67
5.6.170.0270.03720.54
5.6.160.0100.08020.44
5.6.150.0000.04018.18
5.6.140.0200.06318.13
5.6.130.0070.08318.18
5.6.120.0100.07720.98
5.6.110.0100.07720.98
5.6.100.0030.08021.13
5.6.90.0100.04320.99
5.6.80.0130.05320.36
5.5.350.0200.07720.37
5.5.340.0000.06717.92
5.5.330.0130.07720.21
5.5.320.0200.04020.21
5.5.310.0300.03020.32
5.5.300.0070.06717.98
5.5.290.0030.04017.88
5.5.280.0030.07020.94
5.5.270.0030.05720.78
5.5.260.0130.06020.67
5.5.250.0130.06720.58
5.5.240.0030.08020.25
5.4.450.0230.05019.58
5.4.440.0170.05019.10
5.4.430.0170.03319.54
5.4.420.0330.04019.24
5.4.410.0270.04719.00
5.4.400.0100.04719.05
5.4.390.0370.04319.22
5.4.380.0270.05718.45
5.4.370.0300.06018.73
5.4.360.0400.05018.64
5.4.350.0330.06718.62
5.4.340.0500.05018.57
5.4.320.0030.03812.46
5.4.310.0050.03812.45
5.4.300.0070.04112.45
5.4.290.0030.04112.45
5.4.280.0070.03412.35
5.4.270.0070.03412.34
5.4.260.0040.03912.34
5.4.250.0050.03812.34
5.4.240.0060.03612.35
5.4.230.0060.03712.34
5.4.220.0050.04012.34
5.4.210.0040.03612.34
5.4.200.0050.03712.34
5.4.190.0060.04312.33
5.4.180.0050.03612.33
5.4.170.0070.03312.34
5.4.160.0010.04012.34
5.4.150.0060.03512.34
5.4.140.0010.04112.02
5.4.130.0070.03412.01
5.4.120.0090.03911.96
5.4.110.0050.03511.96
5.4.100.0060.03411.96
5.4.90.0100.03211.96
5.4.80.0060.03611.96
5.4.70.0090.03111.96
5.4.60.0040.03611.96
5.4.50.0040.03711.96
5.4.40.0030.03811.95
5.4.30.0070.03411.95
5.4.20.0030.03711.95
5.4.10.0050.03511.95
5.4.00.0040.03711.43
5.3.290.0070.03812.80
5.3.280.0050.03912.71
5.3.270.0040.04012.73
5.3.260.0050.03912.72
5.3.250.0070.03712.72
5.3.240.0070.03912.72
5.3.230.0070.04212.71
5.3.220.0030.03912.68
5.3.210.0060.03812.68
5.3.200.0050.03612.68
5.3.190.0060.03712.68
5.3.180.0080.03412.67
5.3.170.0070.03512.67
5.3.160.0060.04312.67
5.3.150.0090.03612.67
5.3.140.0040.03912.66
5.3.130.0030.04212.66
5.3.120.0080.03612.66
5.3.110.0030.04012.66
5.3.100.0080.03412.12
5.3.90.0090.03312.08
5.3.80.0100.03212.07
5.3.70.0070.03512.07
5.3.60.0050.03712.06
5.3.50.0050.03812.00
5.3.40.0070.03612.00
5.3.30.0080.04111.94
5.3.20.0070.03511.72
5.3.10.0030.03711.69
5.3.00.0060.03611.67
5.2.170.0050.0309.18
5.2.160.0060.0279.18
5.2.150.0040.0319.18
5.2.140.0050.0309.18
5.2.130.0060.0319.13
5.2.120.0040.0359.14
5.2.110.0090.0249.14
5.2.100.0030.0299.14
5.2.90.0070.0279.14
5.2.80.0100.0249.13
5.2.70.0100.0249.13
5.2.60.0040.0319.08
5.2.50.0030.0309.05
5.2.40.0050.0279.03
5.2.30.0030.0329.01
5.2.20.0070.0268.99
5.2.10.0090.0348.93
5.2.00.0070.0298.79
5.1.60.0050.0228.07
5.1.50.0030.0258.07
5.1.40.0060.0228.05
5.1.30.0000.0358.40
5.1.20.0040.0268.42
5.1.10.0080.0238.15
5.1.00.0070.0238.15
5.0.50.0020.0216.63
5.0.40.0010.0226.49
5.0.30.0040.0306.30
5.0.20.0040.0186.27
5.0.10.0050.0186.25
5.0.00.0030.0306.23
4.4.90.0040.0134.78
4.4.80.0030.0154.75
4.4.70.0040.0144.75
4.4.60.0020.0164.76
4.4.50.0030.0154.77
4.4.40.0010.0274.71
4.4.30.0010.0174.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0030.0244.76
4.3.110.0020.0164.67
4.3.100.0000.0174.66
4.3.90.0000.0174.64
4.3.80.0010.0264.59
4.3.70.0040.0154.63
4.3.60.0040.0184.63
4.3.50.0020.0164.63
4.3.40.0020.0244.54
4.3.30.0020.0163.29
4.3.20.0050.0163.27
4.3.10.0030.0153.23
4.3.00.0030.01718.56