3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "\6"; print $a;

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.0000.01619.05
7.1.100.0040.00718.10
7.1.70.0000.00717.04
7.1.60.0000.02419.70
7.1.50.0130.01016.95
7.1.00.0070.07022.51
7.0.200.0160.01016.46
7.0.140.0070.07022.09
7.0.60.0100.07019.94
7.0.50.0130.05317.80
7.0.40.0100.07720.20
7.0.30.0470.06020.16
7.0.20.0230.04320.32
7.0.10.0030.04720.09
7.0.00.0030.04320.18
5.6.280.0070.07020.86
5.6.210.0130.04720.68
5.6.200.0070.08318.12
5.6.190.0100.08320.64
5.6.180.0270.07720.56
5.6.170.0370.05020.47
5.6.160.0170.05020.49
5.6.150.0070.04718.11
5.6.140.0030.08718.16
5.6.130.0030.05018.21
5.6.120.0000.04320.98
5.6.110.0030.04320.97
5.6.100.0100.07720.97
5.6.90.0000.07320.93
5.6.80.0030.04020.52
5.6.70.4430.04020.27
5.5.350.0030.08020.52
5.5.340.0170.07317.91
5.5.330.0100.08320.07
5.5.320.0300.04320.41
5.5.310.0330.05320.34
5.5.300.0100.07017.92
5.5.290.0070.04017.92
5.5.280.0200.07320.76
5.5.270.0170.06720.75
5.5.260.0070.06020.64
5.5.250.0130.07320.54
5.5.240.0270.07320.27
5.4.450.0230.03327.55
5.4.440.0370.04026.16
5.4.430.0400.04326.13
5.4.420.0330.03326.13
5.4.410.0330.04726.13
5.4.400.0370.04026.12
5.4.390.0200.04726.11
5.4.380.0130.05318.72
5.4.370.0270.04318.48
5.4.360.0200.05718.45
5.4.350.0130.05718.50
5.4.340.0170.06318.71
5.4.320.0080.04012.45
5.4.310.0080.03612.45
5.4.300.0070.03612.45
5.4.290.0050.04012.45
5.4.280.0070.03712.34
5.4.270.0080.03612.34
5.4.260.0090.03912.35
5.4.250.0060.04212.34
5.4.240.0070.05612.35
5.4.230.0040.04712.34
5.4.220.0050.05112.34
5.4.210.0090.05012.34
5.4.200.0130.04812.34
5.4.190.0100.04912.33
5.4.180.0080.05512.33
5.4.170.0080.05212.34
5.4.160.0090.04912.34
5.4.150.0090.05012.34
5.4.140.0100.05112.02
5.4.130.0090.04912.01
5.4.120.0170.04111.96
5.4.110.0110.04411.96
5.4.100.0100.04611.96
5.4.90.0100.04811.96
5.4.80.0130.04511.96
5.4.70.0080.04511.96
5.4.60.0110.04311.96
5.4.50.0070.04911.96
5.4.40.0090.04711.95
5.4.30.0050.05111.95
5.4.20.0090.04811.95
5.4.10.0100.04611.95
5.4.00.0090.05011.44
5.3.290.0080.03912.80
5.3.280.0080.04912.71
5.3.270.0100.05012.73
5.3.260.0070.05312.72
5.3.250.0090.04612.71
5.3.240.0140.04412.72
5.3.230.0110.05212.71
5.3.220.0090.04712.68
5.3.210.0090.04312.68
5.3.200.0060.04612.68
5.3.190.0190.04712.68
5.3.180.0110.05412.67
5.3.170.0090.05412.67
5.3.160.0100.05312.67
5.3.150.0060.06012.68
5.3.140.0120.05012.66
5.3.130.0090.05312.65
5.3.120.0130.05512.66
5.3.110.0120.05512.66
5.3.100.0140.05512.12
5.3.90.0130.05112.08
5.3.80.0100.05112.07
5.3.70.0120.04812.07
5.3.60.0050.05412.06
5.3.50.0090.06312.00
5.3.40.0120.06512.00
5.3.30.0120.05811.94
5.3.20.0140.05211.72
5.3.10.0100.05711.69
5.3.00.0070.05711.67
5.2.170.0070.0499.17
5.2.160.0050.0499.17
5.2.150.0100.0459.17
5.2.140.0050.0499.17
5.2.130.0130.0429.13
5.2.120.0060.0479.13
5.2.110.0050.0489.14
5.2.100.0110.0749.14
5.2.90.0050.0499.13
5.2.80.0090.0419.13
5.2.70.0150.0749.13
5.2.60.0120.0789.09
5.2.50.0100.0439.05
5.2.40.0100.0599.03
5.2.30.0070.0409.01
5.2.20.0070.0399.00
5.2.10.0090.0358.91
5.2.00.0110.0398.77
5.1.60.0040.0348.05
5.1.50.0020.0388.05
5.1.40.0120.0448.04
5.1.30.0050.0298.39
5.1.20.0070.0338.40
5.1.10.0050.0288.13
5.1.00.0070.0248.13
5.0.50.0070.0216.61
5.0.40.0080.0196.47
5.0.30.0060.0376.28
5.0.20.0060.0216.25
5.0.10.0050.0226.23
5.0.00.0070.0326.22
4.4.90.0020.0194.77
4.4.80.0050.0174.75
4.4.70.0020.0184.75
4.4.60.0020.0204.75
4.4.50.0050.0164.77
4.4.40.0030.0294.71
4.4.30.0050.0164.76
4.4.20.0040.0204.84
4.4.10.0050.0194.85
4.4.00.0100.0324.76
4.3.110.0060.0224.67
4.3.100.0080.0224.66
4.3.90.0070.0214.63
4.3.80.0050.0364.58
4.3.70.0040.0254.63
4.3.60.0040.0294.63
4.3.50.0040.0274.62
4.3.40.0060.0364.54
4.3.30.0000.0273.27
4.3.20.0020.0243.25
4.3.10.0040.0323.22
4.3.00.0070.01326.11