3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "Tomorrow I \'ll learn PHP global variables."; echo " This is a bad command : del c:\\*.*."; ?>

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.60.0110.00616.40
7.2.00.0070.01019.02
7.1.200.0060.00615.52
7.1.100.0080.00417.90
7.1.70.0040.00417.01
7.1.60.0110.01419.46
7.1.50.0100.00716.62
7.1.00.0030.07722.37
7.0.200.0190.00914.50
7.0.140.0000.07722.12
7.0.60.0070.05719.93
7.0.50.0030.07017.77
7.0.40.0130.08320.27
7.0.30.0300.08020.04
7.0.20.0270.05720.09
7.0.10.0070.08320.19
7.0.00.0170.07320.08
5.6.280.0030.07321.12
5.6.210.0030.09020.50
5.6.200.0030.04318.13
5.6.190.0000.07020.41
5.6.180.0370.08020.65
5.6.170.0200.04020.38
5.6.160.0100.03720.44
5.6.150.0070.06718.15
5.6.140.0030.05318.07
5.6.130.0000.05318.08
5.6.120.0200.06721.14
5.6.110.0100.05320.98
5.6.100.0100.08021.18
5.6.90.0170.08020.96
5.6.80.0070.06720.50
5.5.350.0300.07720.43
5.5.340.0070.03717.98
5.5.330.0100.08720.19
5.5.320.0230.03720.31
5.5.310.0400.07020.50
5.5.300.0100.06718.01
5.5.290.0000.06318.01
5.5.280.0070.05720.62
5.5.270.0070.07720.79
5.5.260.0130.07720.78
5.5.250.0130.08320.48
5.5.240.0070.03020.27
5.4.450.0170.04019.40
5.4.440.0230.04019.57
5.4.430.1070.05319.52
5.4.420.0800.04719.52
5.4.410.0130.05319.34
5.4.400.0970.05319.32
5.4.390.1030.06018.93
5.4.380.0200.04718.74
5.4.370.0070.05018.71
5.4.360.0100.05318.58
5.4.350.0200.04718.68
5.4.340.0130.05018.68
5.4.320.0070.03512.46
5.4.310.0070.04412.45
5.4.300.0060.04312.46
5.4.290.0150.08312.45
5.4.280.0200.08912.34
5.4.270.0130.06512.35
5.4.260.0150.04712.34
5.4.250.0390.08812.35
5.4.240.0100.06212.35
5.4.230.0190.07512.34
5.4.220.0320.11012.34
5.4.210.0090.04112.34
5.4.200.0040.04212.34
5.4.190.0090.04112.33
5.4.180.0130.07812.33
5.4.170.0190.08612.35
5.4.160.0190.06912.34
5.4.150.0170.05512.33
5.4.140.0070.05012.02
5.4.130.0240.08212.01
5.4.120.0190.12011.96
5.4.110.0400.19711.96
5.4.100.0210.08811.96
5.4.90.0180.07111.96
5.4.80.0210.09211.96
5.4.70.0240.07711.96
5.4.60.0180.08411.96
5.4.50.0120.09111.96
5.4.40.0160.07811.95
5.4.30.0130.08211.95
5.4.20.0160.07811.95
5.4.10.0200.07111.95
5.4.00.0230.06811.43
5.3.290.0090.04412.80
5.3.280.0160.06712.71
5.3.270.0180.10512.72
5.3.260.0350.13012.72
5.3.250.0190.06112.71
5.3.240.0140.04812.72
5.3.230.0100.04812.70
5.3.220.0260.14912.68
5.3.210.0160.10512.68
5.3.200.0170.07812.68
5.3.190.0290.11512.68
5.3.180.0230.08912.68
5.3.170.0140.06912.67
5.3.160.0190.06612.67
5.3.150.0060.03912.68
5.3.140.0090.03812.66
5.3.130.0120.06812.66
5.3.120.0090.05412.66
5.3.110.0110.05112.66
5.3.100.0110.06412.12
5.3.90.0100.05312.08
5.3.80.0060.05512.07
5.3.70.0250.08812.07
5.3.60.0150.06912.06
5.3.50.0190.07512.00
5.3.40.0180.07712.00
5.3.30.0150.06211.94
5.3.20.0170.07911.72
5.3.10.0140.08411.68
5.3.00.0160.07711.68
5.2.170.0100.0589.17
5.2.160.0210.0749.18
5.2.150.0130.0789.18
5.2.140.0390.1469.17
5.2.130.0190.0829.13
5.2.120.0130.0589.13
5.2.110.0090.0369.14
5.2.100.0040.0589.13
5.2.90.0150.0739.13
5.2.80.0060.0489.13
5.2.70.0090.0419.13
5.2.60.0180.0579.08
5.2.50.0060.0429.05
5.2.40.0020.0439.03
5.2.30.0060.0419.01
5.2.20.0080.0609.00
5.2.10.0060.0388.91
5.2.00.0140.0838.77
5.1.60.0080.0328.06
5.1.50.0050.0368.05
5.1.40.0050.0378.04
5.1.30.0070.0378.39
5.1.20.0070.0378.41
5.1.10.0130.0518.13
5.1.00.0040.0478.13
5.0.50.0090.0396.61
5.0.40.0070.0436.47
5.0.30.0100.0526.28
5.0.20.0070.0256.25
5.0.10.0040.0306.23
5.0.00.0030.0446.22
4.4.90.0060.0224.78
4.4.80.0060.0154.76
4.4.70.0030.0224.75
4.4.60.0060.0264.75
4.4.50.0110.0324.77
4.4.40.0150.0634.71
4.4.30.0080.0394.76
4.4.20.0040.0174.84
4.4.10.0050.0184.84
4.4.00.0030.0294.76
4.3.110.0060.0244.66
4.3.100.0050.0174.67
4.3.90.0000.0254.63
4.3.80.0050.0254.58
4.3.70.0040.0154.63
4.3.60.0080.0194.63
4.3.50.0060.0274.63
4.3.40.0050.0694.54
4.3.30.0070.0383.28
4.3.20.0050.0563.25
4.3.10.0020.0173.21
4.3.00.0200.01012.57