3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print(strval(123));

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.00.0080.00819.40
7.1.100.0000.01217.82
7.1.70.0000.00716.89
7.1.60.0070.01719.70
7.1.50.0130.01016.61
7.1.00.0070.07322.35
7.0.200.0030.00716.27
7.0.140.0070.07022.09
7.0.60.0030.08319.90
7.0.50.0100.06717.87
7.0.40.0170.06020.40
7.0.30.0270.05720.13
7.0.20.0400.07320.09
7.0.10.0100.08320.17
7.0.00.0130.07720.03
5.6.280.0030.07320.91
5.6.210.0130.07720.62
5.6.200.0000.04318.13
5.6.190.0070.08720.41
5.6.180.0200.04020.57
5.6.170.0400.05320.48
5.6.160.0170.07720.50
5.6.150.0000.06718.23
5.6.140.0000.04318.22
5.6.130.0130.06718.17
5.6.120.0070.08020.96
5.6.110.0100.08021.08
5.6.100.0030.07021.03
5.6.90.0070.06020.96
5.6.80.0100.08320.52
5.5.350.0200.08020.39
5.5.340.0070.08317.98
5.5.330.0130.06720.15
5.5.320.0470.07720.20
5.5.310.0400.07320.23
5.5.300.0030.04017.92
5.5.290.0070.04017.91
5.5.280.0070.05020.74
5.5.270.0000.05020.88
5.5.260.0070.08720.86
5.5.250.0130.07020.79
5.5.240.0000.05720.23
5.4.450.0330.05319.46
5.4.440.0570.04319.52
5.4.430.0200.04319.42
5.4.420.0700.04019.40
5.4.410.0430.03743.93
5.4.400.0230.03743.92
5.4.390.0400.04043.92
5.4.380.0030.06318.66
5.4.370.0100.05718.66
5.4.360.0170.05018.60
5.4.350.0100.06318.70
5.4.340.0230.04318.48
5.4.320.0070.03912.46
5.4.310.0070.04812.45
5.4.300.0090.03612.45
5.4.290.0050.04012.45
5.4.280.0070.03412.34
5.4.270.0070.03612.35
5.4.260.0070.03712.35
5.4.250.0060.03712.35
5.4.240.0060.04912.35
5.4.230.0110.03812.34
5.4.220.0040.03812.34
5.4.210.0030.03912.34
5.4.200.0060.03812.34
5.4.190.0100.03212.34
5.4.180.0100.03212.34
5.4.170.0070.03512.35
5.4.160.0050.03712.34
5.4.150.0040.03712.34
5.4.140.0090.03512.02
5.4.130.0040.03712.01
5.4.120.0070.04411.97
5.4.110.0080.03311.96
5.4.100.0050.03611.96
5.4.90.0110.03111.96
5.4.80.0080.03511.96
5.4.70.0050.03611.96
5.4.60.0060.03411.96
5.4.50.0030.04011.96
5.4.40.0070.03511.95
5.4.30.0020.03811.95
5.4.20.0050.03611.95
5.4.10.0080.03211.95
5.4.00.0040.03811.44
5.3.290.0090.04312.80
5.3.280.0090.03512.71
5.3.270.0060.04012.72
5.3.260.0070.03712.72
5.3.250.0060.03812.72
5.3.240.0050.03912.72
5.3.230.0060.03912.71
5.3.220.0060.03712.68
5.3.210.0050.04012.68
5.3.200.0070.03612.68
5.3.190.0060.03812.68
5.3.180.0030.03912.67
5.3.170.0080.03512.67
5.3.160.0040.03812.67
5.3.150.0040.04012.67
5.3.140.0090.03312.66
5.3.130.0070.04012.66
5.3.120.0060.03812.66
5.3.110.0100.03612.66
5.3.100.0050.03812.12
5.3.90.0080.03512.08
5.3.80.0070.03512.07
5.3.70.0050.03812.08
5.3.60.0060.03612.07
5.3.50.0100.03212.00
5.3.40.0040.03912.00
5.3.30.0030.03711.94
5.3.20.0060.03511.73
5.3.10.0010.04011.68
5.3.00.0040.03811.68
5.2.170.0050.0299.18
5.2.160.0080.0269.17
5.2.150.0020.0339.18
5.2.140.0020.0339.17
5.2.130.0080.0269.13
5.2.120.0060.0269.13
5.2.110.0030.0319.14
5.2.100.0070.0269.14
5.2.90.0050.0299.14
5.2.80.0090.0389.13
5.2.70.0050.0329.13
5.2.60.0070.0289.08
5.2.50.0080.0279.05
5.2.40.0080.0269.03
5.2.30.0060.0289.00
5.2.20.0050.0289.00
5.2.10.0050.0288.93
5.2.00.0040.0298.79
5.1.60.0040.0248.07
5.1.50.0030.0268.07
5.1.40.0010.0278.05
5.1.30.0070.0238.40
5.1.20.0030.0288.43
5.1.10.0040.0258.14
5.1.00.0030.0268.15
5.0.50.0040.0206.63
5.0.40.0060.0166.49
5.0.30.0030.0316.30
5.0.20.0030.0196.27
5.0.10.0050.0196.25
5.0.00.0040.0306.24
4.4.90.0010.0174.78
4.4.80.0030.0154.75
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0010.0174.77
4.4.40.0040.0234.71
4.4.30.0040.0134.76
4.4.20.0030.0154.85
4.4.10.0040.0144.85
4.4.00.0030.0244.76
4.3.110.0030.0154.66
4.3.100.0010.0164.66
4.3.90.0040.0144.63
4.3.80.0040.0224.59
4.3.70.0030.0144.63
4.3.60.0040.0184.63
4.3.50.0010.0164.62
4.3.40.0040.0224.54
4.3.30.0020.0153.29
4.3.20.0030.0213.27
4.3.10.0030.0193.22
4.3.00.0170.01743.91