3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(1 + '3.0');
based on sbKPd

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.1.70.0030.00716.81
7.1.60.0000.01117.08
7.1.50.0030.00916.90
7.1.00.0000.08022.54
7.0.200.0100.00716.34
7.0.140.0000.07722.16
7.0.60.0100.03319.77
7.0.50.0030.05317.77
7.0.40.0070.08720.21
7.0.30.0570.05720.30
7.0.20.0270.07320.16
7.0.10.0070.07320.00
7.0.00.0070.04720.31
5.6.280.0070.07021.12
5.6.210.0030.05720.46
5.6.200.0030.04318.17
5.6.190.0100.07320.57
5.6.180.0300.04720.67
5.6.170.0170.04720.31
5.6.160.0070.08320.41
5.6.150.0000.04318.21
5.6.140.0100.03318.06
5.6.130.0100.07318.27
5.6.120.0130.06321.03
5.6.110.0170.07320.96
5.6.100.0230.05720.98
5.6.90.0000.06721.12
5.6.80.0070.06020.38
5.5.350.0000.03320.52
5.5.340.0100.06318.01
5.5.330.0030.04320.21
5.5.320.0230.04720.34
5.5.310.0200.05720.26
5.5.300.0100.08017.95
5.5.290.0070.07717.96
5.5.280.0030.04020.96
5.5.270.0070.04720.67
5.5.260.0130.08020.96
5.5.250.0070.05320.69
5.5.240.0400.06020.15
5.4.450.0570.04019.41
5.4.440.0270.03719.14
5.4.430.0200.04719.48
5.4.420.0230.03019.40
5.4.410.0430.05719.45
5.4.400.0300.03318.78
5.4.390.0370.04019.16
5.4.380.0770.06018.68
5.4.370.0530.05318.60
5.4.360.0800.05718.66
5.4.350.0600.05318.58
5.4.340.0700.05718.71
5.4.320.0040.03712.45
5.4.310.0070.03612.45
5.4.300.0060.03512.45
5.4.290.0080.04612.45
5.4.280.0100.03212.35
5.4.270.0060.03612.35
5.4.260.0030.04012.35
5.4.250.0050.03812.35
5.4.240.0040.03812.34
5.4.230.0040.04012.34
5.4.220.0090.03212.34
5.4.210.0060.03512.34
5.4.200.0040.03912.34
5.4.190.0070.03812.33
5.4.180.0070.03412.34
5.4.170.0040.03712.35
5.4.160.0060.03512.34
5.4.150.0050.04212.34
5.4.140.0060.03812.02
5.4.130.0060.03512.01
5.4.120.0080.03311.96
5.4.110.0070.03411.96
5.4.100.0080.03311.96
5.4.90.0070.03711.96
5.4.80.0040.03911.96
5.4.70.0070.03411.96
5.4.60.0060.03411.96
5.4.50.0060.03511.96
5.4.40.0070.03511.95
5.4.30.0080.03311.95
5.4.20.0100.03211.95
5.4.10.0060.03511.95
5.4.00.0100.03211.44
5.3.290.0090.03612.80
5.3.280.0080.04612.71
5.3.270.0100.03612.73
5.3.260.0040.04012.72
5.3.250.0060.03812.72
5.3.240.0070.03712.72
5.3.230.0090.03512.71
5.3.220.0050.03912.68
5.3.210.0080.03812.68
5.3.200.0070.03512.68
5.3.190.0030.04012.68
5.3.180.0050.03712.67
5.3.170.0060.03612.66
5.3.160.0060.03712.67
5.3.150.0100.03312.67
5.3.140.0070.03612.66
5.3.130.0070.03812.66
5.3.120.0070.03712.66
5.3.110.0060.04012.66
5.3.100.0060.03812.12
5.3.90.0040.03912.08
5.3.80.0070.03612.07
5.3.70.0090.03412.07
5.3.60.0100.03412.06
5.3.50.0070.03612.00
5.3.40.0050.03712.00
5.3.30.0050.03711.95
5.3.20.0040.03711.72
5.3.10.0080.03311.69
5.3.00.0050.03711.68
5.2.170.0070.0289.18
5.2.160.0040.0309.18
5.2.150.0060.0299.18
5.2.140.0030.0329.17
5.2.130.0020.0329.14
5.2.120.0040.0299.14
5.2.110.0050.0299.14
5.2.100.0080.0259.14
5.2.90.0070.0279.14
5.2.80.0070.0289.14
5.2.70.0040.0319.14
5.2.60.0050.0309.09
5.2.50.0030.0329.05
5.2.40.0070.0279.04
5.2.30.0030.0329.01
5.2.20.0060.0359.00
5.2.10.0040.0298.92
5.2.00.0100.0268.78
5.1.60.0060.0258.06
5.1.50.0050.0278.06
5.1.40.0050.0328.04
5.1.30.0020.0308.39
5.1.20.0030.0278.41
5.1.10.0030.0278.14
5.1.00.0040.0268.13
5.0.50.0030.0216.61
5.0.40.0040.0196.47
5.0.30.0050.0296.29
5.0.20.0030.0206.29
5.0.10.0040.0286.26
5.0.00.0030.0346.25
4.4.90.0050.0164.78
4.4.80.0060.0164.75
4.4.70.0030.0174.76
4.4.60.0030.0154.75
4.4.50.0020.0164.77
4.4.40.0030.0244.71
4.4.30.0040.0144.76
4.4.20.0010.0174.84
4.4.10.0020.0174.85
4.4.00.0020.0264.76
4.3.110.0030.0194.67
4.3.100.0020.0154.67
4.3.90.0030.0154.63
4.3.80.0020.0244.58
4.3.70.0040.0124.63
4.3.60.0030.0144.63
4.3.50.0030.0154.63
4.3.40.0050.0214.53
4.3.30.0050.0133.31
4.3.20.0020.0163.28
4.3.10.0010.0173.25
4.3.00.0030.01315.63