3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo base64_encode('Hi'); // SGk= echo base64_decode('SGk='); // Hi echo 'Hi'; // Hi eval('echo "Hi";'); // Hi eval(base64_decode('ZWNobyAiSGkiOw=='));

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.0040.00918.99
7.1.100.0040.01218.05
7.1.70.0000.01017.06
7.1.60.0060.01919.46
7.1.50.0060.01616.54
7.1.00.0100.07022.48
7.0.200.0270.00914.61
7.0.140.0070.07321.95
7.0.60.0130.06019.85
7.0.50.0100.05017.83
7.0.40.0100.08720.05
7.0.30.0230.03720.01
7.0.20.0300.06320.21
7.0.10.0130.06020.21
7.0.00.0130.06320.14
5.6.280.0030.07321.01
5.6.210.0000.04320.50
5.6.200.0070.04318.21
5.6.190.0030.06020.41
5.6.180.4230.03720.64
5.6.170.0270.08020.40
5.6.160.0130.08320.37
5.6.150.0070.03718.13
5.6.140.0070.08318.11
5.6.130.0130.06718.15
5.6.120.0100.04021.13
5.6.110.0170.06721.00
5.6.100.0100.07321.10
5.6.90.0070.08720.97
5.6.80.0000.04320.40
5.5.350.0130.06020.32
5.5.340.0070.03717.91
5.5.330.0030.04320.36
5.5.320.3970.04720.32
5.5.310.0270.03720.31
5.5.300.0030.05018.00
5.5.290.0100.04317.97
5.5.280.0000.04720.73
5.5.270.0030.04020.76
5.5.260.0200.07020.95
5.5.250.0070.03720.74
5.5.240.3970.04020.11
5.4.450.0830.08319.41
5.4.440.0700.06019.55
5.4.430.0470.07019.13
5.4.420.0100.05719.48
5.4.410.0030.06019.27
5.4.400.0130.05018.96
5.4.390.0230.04318.92
5.4.380.0500.08318.77
5.4.370.0430.05318.62
5.4.360.0470.04718.60
5.4.350.0200.06718.65
5.4.340.0230.05718.57
5.4.320.0030.03912.45
5.4.310.0060.03712.45
5.4.300.0090.03512.45
5.4.290.0110.03612.43
5.4.280.0060.03912.33
5.4.270.0120.04312.33
5.4.260.0120.05012.33
5.4.250.0080.05312.33
5.4.240.0080.03912.33
5.4.230.0070.03812.32
5.4.220.0080.04012.32
5.4.210.0080.04712.32
5.4.200.0070.05212.32
5.4.190.0040.04212.32
5.4.180.0140.04212.32
5.4.170.0090.03812.33
5.4.160.0100.04512.32
5.4.150.0180.06612.32
5.4.140.0150.10312.01
5.4.130.0200.06711.99
5.4.120.0100.05111.95
5.4.110.0030.04411.95
5.4.100.0080.04111.95
5.4.90.0130.04311.95
5.4.80.0090.05111.95
5.4.70.0070.04811.95
5.4.60.0070.04311.95
5.4.50.0100.04211.94
5.4.40.0090.04011.93
5.4.30.0070.04611.93
5.4.20.0090.04311.93
5.4.10.0100.04011.93
5.4.00.0110.03411.42
5.3.290.0040.04112.80
5.3.280.0140.04412.71
5.3.270.0190.04412.72
5.3.260.0130.05412.72
5.3.250.0100.04212.72
5.3.240.0060.04412.72
5.3.230.0080.04312.71
5.3.220.0070.04112.68
5.3.210.0070.04512.68
5.3.200.0110.04012.68
5.3.190.0110.04112.68
5.3.180.0130.04812.67
5.3.170.0110.05112.67
5.3.160.0120.05012.67
5.3.150.0070.05312.67
5.3.140.0110.04612.66
5.3.130.0130.04512.66
5.3.120.0100.05412.66
5.3.110.0100.05212.66
5.3.100.0160.04012.12
5.3.90.0090.05212.08
5.3.80.0090.05112.07
5.3.70.0100.05012.07
5.3.60.0060.05612.07
5.3.50.0100.04912.00
5.3.40.0100.05112.00
5.3.30.0090.04811.95
5.3.20.0060.05011.73
5.3.10.0100.04311.70
5.3.00.0080.04711.68
5.2.170.0120.0399.18
5.2.160.0110.0329.18
5.2.150.0070.0379.18
5.2.140.0080.0439.18
5.2.130.0050.0459.14
5.2.120.0110.0409.14
5.2.110.0050.0439.15
5.2.100.0130.0369.14
5.2.90.0120.0399.14
5.2.80.0110.0439.14
5.2.70.0050.0479.13
5.2.60.0090.0419.09
5.2.50.0060.0489.06
5.2.40.0060.0439.04
5.2.30.0080.0449.01
5.2.20.0050.0429.00
5.2.10.0070.0398.94
5.2.00.0060.0428.80
5.1.60.0080.0358.07
5.1.50.0080.0338.08
5.1.40.0080.0338.05
5.1.30.0080.0408.41
5.1.20.0100.0388.43
5.1.10.0100.0358.16
5.1.00.0060.0408.15
5.0.50.0040.0316.63
5.0.40.0050.0296.49
5.0.30.0040.0486.30
5.0.20.0070.0266.27
5.0.10.0060.0296.25
5.0.00.0070.0416.24
4.4.90.0060.0234.78
4.4.80.0060.0224.75
4.4.70.0050.0254.76
4.4.60.0060.0234.76
4.4.50.0090.0204.77
4.4.40.0040.0384.71
4.4.30.0060.0244.76
4.4.20.0030.0264.84
4.4.10.0080.0224.85
4.4.00.0050.0374.76
4.3.110.0040.0264.67
4.3.100.0040.0244.67
4.3.90.0060.0204.63
4.3.80.0080.0324.59
4.3.70.0060.0224.63
4.3.60.0060.0224.63
4.3.50.0070.0224.63
4.3.40.0050.0384.54
4.3.30.0030.0263.30
4.3.20.0040.0253.27
4.3.10.0050.0193.23
4.3.00.0130.0207.16