3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<p> <?php $words = array("I", "am", "hungry"); echo implode($words); ?> </p>

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.0190.00498.97
7.3.0rc30.0090.00616.30
7.3.0beta10.0000.01012.26
7.3.0alpha10.0350.00012.37
7.2.60.0000.01416.60
7.2.00.0070.00719.23
7.1.200.0060.00615.77
7.1.100.0120.00617.84
7.1.70.0040.00417.23
7.1.60.0100.01419.40
7.1.50.0110.00016.89
7.1.00.0070.07322.29
7.0.200.0040.01116.79
7.0.140.0030.07322.16
7.0.60.0100.08019.96
7.0.50.0000.05717.87
7.0.40.0070.07020.05
7.0.30.0270.06720.14
7.0.20.0270.07720.17
7.0.10.0200.07320.16
7.0.00.0170.07720.09
5.6.280.0070.07020.91
5.6.210.0100.08320.75
5.6.200.0130.03318.14
5.6.190.0170.04320.37
5.6.180.0200.08720.63
5.6.170.0300.08720.49
5.6.160.0000.04320.49
5.6.150.0030.08318.13
5.6.140.0100.03318.21
5.6.130.0170.06718.21
5.6.120.0070.03721.04
5.6.110.0100.08321.11
5.6.100.0100.07321.01
5.6.90.0100.07020.95
5.6.80.0170.05320.37
5.5.350.0230.06320.41
5.5.340.0130.07718.01
5.5.330.0100.08020.57
5.5.320.0270.04720.29
5.5.310.0370.08020.19
5.5.300.0100.06017.90
5.5.290.0200.07318.00
5.5.280.0030.04020.68
5.5.270.0100.08320.87
5.5.260.0100.05320.72
5.5.250.0070.03720.58
5.5.240.0030.07320.25
5.4.450.0630.05319.61
5.4.440.0700.05019.58
5.4.430.0770.05719.45
5.4.420.0230.04319.52
5.4.410.0330.05019.36
5.4.400.0070.05719.16
5.4.390.0170.04319.16
5.4.380.0230.06718.52
5.4.370.0200.06718.48
5.4.360.0370.05718.64
5.4.350.0300.06718.70
5.4.340.0570.06718.68
5.4.320.0070.03612.45
5.4.310.0080.03612.45
5.4.300.0060.03812.45
5.4.290.0090.04912.45
5.4.280.0090.03712.35
5.4.270.0070.03912.35
5.4.260.0110.03812.35
5.4.250.0090.04712.34
5.4.240.0080.03312.34
5.4.230.0040.03712.34
5.4.220.0080.03812.34
5.4.210.0060.03912.34
5.4.200.0030.04612.34
5.4.190.0050.03712.34
5.4.180.0120.03312.34
5.4.170.0070.04112.35
5.4.160.0070.03512.34
5.4.150.0070.03812.34
5.4.140.0040.03712.02
5.4.130.0060.04212.01
5.4.120.0050.03511.96
5.4.110.0070.03411.96
5.4.100.0080.03811.96
5.4.90.0040.03911.96
5.4.80.0040.04211.96
5.4.70.0080.03611.96
5.4.60.0060.03411.96
5.4.50.0060.03411.96
5.4.40.0030.03511.95
5.4.30.0030.03611.95
5.4.20.0040.03411.95
5.4.10.0050.03411.95
5.4.00.0060.03711.43
5.3.290.0050.04112.80
5.3.280.0070.03512.70
5.3.270.0040.03912.72
5.3.260.0110.03812.72
5.3.250.0060.03612.72
5.3.240.0040.03712.71
5.3.230.0050.03812.71
5.3.220.0050.03812.68
5.3.210.0040.05012.68
5.3.200.0050.04012.68
5.3.190.0010.04212.67
5.3.180.0050.03712.67
5.3.170.0050.04312.67
5.3.160.0040.04112.67
5.3.150.0100.03312.67
5.3.140.0060.03612.66
5.3.130.0030.04112.66
5.3.120.0050.03912.66
5.3.110.0060.03712.66
5.3.100.0050.03612.11
5.3.90.0030.03712.09
5.3.80.0060.03512.08
5.3.70.0040.03712.07
5.3.60.0050.03612.07
5.3.50.0050.03612.00
5.3.40.0040.03712.00
5.3.30.0050.03511.95
5.3.20.0060.03411.73
5.3.10.0060.03411.69
5.3.00.0030.03911.68
5.2.170.0070.0289.18
5.2.160.0070.0329.18
5.2.150.0070.0289.18
5.2.140.0030.0319.17
5.2.130.0050.0289.13
5.2.120.0050.0279.14
5.2.110.0080.0259.14
5.2.100.0060.0269.14
5.2.90.0050.0279.14
5.2.80.0080.0279.14
5.2.70.0020.0329.13
5.2.60.0030.0309.08
5.2.50.0050.0299.05
5.2.40.0050.0369.03
5.2.30.0060.0289.01
5.2.20.0050.0299.00
5.2.10.0050.0278.91
5.2.00.0050.0288.77
5.1.60.0040.0238.06
5.1.50.0050.0238.06
5.1.40.0040.0248.04
5.1.30.0060.0248.39
5.1.20.0050.0328.41
5.1.10.0050.0248.13
5.1.00.0050.0248.13
5.0.50.0040.0196.62
5.0.40.0040.0176.47
5.0.30.0040.0296.29
5.0.20.0060.0156.25
5.0.10.0040.0186.23
5.0.00.0010.0316.22
4.4.90.0030.0144.78
4.4.80.0000.0184.75
4.4.70.0020.0154.76
4.4.60.0020.0154.75
4.4.50.0020.0154.77
4.4.40.0020.0254.71
4.4.30.0030.0154.76
4.4.20.0060.0124.84
4.4.10.0020.0154.85
4.4.00.0040.0234.76
4.3.110.0010.0174.67
4.3.100.0010.0234.66
4.3.90.0020.0204.63
4.3.80.0030.0234.58
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0050.0154.63
4.3.40.0020.0254.54
4.3.30.0010.0173.28
4.3.20.0020.0153.26
4.3.10.0020.0153.21
4.3.00.0100.0238.53