3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=' Sandhya Mohandas"'; $b='"Hello World" <br/> "This is from'; echo $b . $a;
based on ELOA6

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.0220.00798.97
7.3.0rc30.0210.00016.59
7.3.0beta10.0060.00312.75
7.3.0alpha10.0100.00012.64
7.2.60.0000.01416.78
7.2.00.0080.00419.21
7.1.200.0070.00315.43
7.1.100.0070.00718.20
7.1.70.0000.00816.96
7.1.60.0030.01619.32
7.1.50.0070.01416.54
7.1.00.0070.07322.45
7.0.200.0030.00616.82
7.0.140.0030.07021.98
7.0.60.0000.04320.03
7.0.50.0130.06317.87
7.0.40.0100.09020.08
7.0.30.0170.04720.02
7.0.20.0270.08020.30
7.0.10.0070.05320.09
7.0.00.0030.09320.12
5.6.280.0000.07321.13
5.6.210.0100.08720.72
5.6.200.0030.05718.21
5.6.190.0030.04320.41
5.6.180.0430.05720.60
5.6.170.0270.05720.45
5.6.160.0170.07320.38
5.6.150.0170.07318.20
5.6.140.0030.08718.09
5.6.130.0070.07718.08
5.6.120.0030.08720.91
5.6.110.0130.05321.01
5.6.100.0030.05021.02
5.6.90.0130.07720.96
5.6.80.0030.07020.48
5.5.350.0170.08020.48
5.5.340.0100.04318.02
5.5.330.0070.05320.12
5.5.320.0330.06020.17
5.5.310.0200.04320.26
5.5.300.0070.08317.94
5.5.290.0000.08017.99
5.5.280.0030.04320.96
5.5.270.0200.05020.94
5.5.260.0000.04320.88
5.5.250.0130.07320.68
5.5.240.0230.07320.11
5.4.450.0230.04719.11
5.4.440.1070.04719.46
5.4.430.0830.05719.52
5.4.420.0770.00019.35
5.4.410.0670.00019.42
5.4.400.0670.00019.16
5.4.390.0770.00019.05
5.4.380.0730.00019.05
5.4.370.0630.00018.96
5.4.360.0630.00019.07
5.4.350.0670.00019.15
5.4.340.0870.00018.96
5.4.320.0090.04212.45
5.4.310.0070.05212.45
5.4.300.0120.04512.45
5.4.290.0060.04712.45
5.4.280.0030.03712.34
5.4.270.0060.03612.34
5.4.260.0040.03912.35
5.4.250.0100.03912.35
5.4.240.0070.03512.35
5.4.230.0050.03912.34
5.4.220.0060.04212.34
5.4.210.0030.03912.34
5.4.200.0040.04012.34
5.4.190.0100.03612.33
5.4.180.0010.04712.33
5.4.170.0100.03112.34
5.4.160.0080.04212.34
5.4.150.0070.04412.34
5.4.140.0060.03612.02
5.4.130.0080.03512.01
5.4.120.0040.03611.96
5.4.110.0020.03811.96
5.4.100.0070.04011.96
5.4.90.0080.03511.96
5.4.80.0070.03511.96
5.4.70.0090.03611.96
5.4.60.0040.03711.96
5.4.50.0060.03511.96
5.4.40.0070.04211.95
5.4.30.0080.04211.95
5.4.20.0090.03111.95
5.4.10.0070.04311.95
5.4.00.0010.04111.44
5.3.290.0060.03812.80
5.3.280.0070.03612.70
5.3.270.0050.04312.72
5.3.260.0060.03712.72
5.3.250.0040.03712.72
5.3.240.0050.03712.71
5.3.230.0050.03812.71
5.3.220.0070.04212.68
5.3.210.0060.04012.68
5.3.200.0060.03712.68
5.3.190.0070.03812.67
5.3.180.0080.03412.68
5.3.170.0050.03712.67
5.3.160.0080.03912.67
5.3.150.0060.03612.68
5.3.140.0070.04712.66
5.3.130.0050.04712.66
5.3.120.0070.03612.66
5.3.110.0080.04112.66
5.3.100.0050.03912.11
5.3.90.0060.03512.09
5.3.80.0080.03812.08
5.3.70.0050.03712.07
5.3.60.0060.04112.06
5.3.50.0070.03912.00
5.3.40.0040.03812.00
5.3.30.0070.03311.94
5.3.20.0120.03111.72
5.3.10.0080.03211.69
5.3.00.0070.03411.68
5.2.170.0030.0319.18
5.2.160.0070.0269.18
5.2.150.0070.0289.17
5.2.140.0030.0339.17
5.2.130.0070.0339.13
5.2.120.0060.0369.13
5.2.110.0060.0289.14
5.2.100.0090.0249.14
5.2.90.0070.0329.13
5.2.80.0050.0309.13
5.2.70.0050.0299.13
5.2.60.0080.0339.08
5.2.50.0040.0319.05
5.2.40.0050.0369.03
5.2.30.0030.0339.01
5.2.20.0020.0398.99
5.2.10.0080.0308.91
5.2.00.0040.0298.77
5.1.60.0060.0218.06
5.1.50.0050.0248.05
5.1.40.0060.0238.04
5.1.30.0050.0248.39
5.1.20.0050.0268.41
5.1.10.0060.0248.13
5.1.00.0080.0268.13
5.0.50.0020.0256.61
5.0.40.0020.0206.47
5.0.30.0030.0316.29
5.0.20.0040.0196.25
5.0.10.0050.0186.23
5.0.00.0030.0316.23
4.4.90.0020.0204.78
4.4.80.0030.0174.76
4.4.70.0040.0144.75
4.4.60.0030.0154.76
4.4.50.0050.0174.77
4.4.40.0040.0314.71
4.4.30.0050.0134.75
4.4.20.0050.0144.85
4.4.10.0020.0164.85
4.4.00.0030.0244.76
4.3.110.0030.0194.67
4.3.100.0020.0154.66
4.3.90.0030.0144.63
4.3.80.0020.0254.58
4.3.70.0020.0144.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0020.0274.54
4.3.30.0000.0213.28
4.3.20.0020.0153.25
4.3.10.0040.0183.21
4.3.00.0030.0138.05