3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strlen( <<<HERE 123 456 789 HERE );
based on EuDrK

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.0060.01019.29
7.1.100.0000.01317.71
7.1.70.0000.01016.99
7.1.60.0040.01919.19
7.1.50.0130.01016.90
7.1.00.0000.08022.51
7.0.200.0030.00616.64
7.0.140.0070.07021.95
7.0.60.0030.08720.06
7.0.50.0070.08017.79
7.0.40.0000.07320.06
7.0.30.0330.05720.30
7.0.20.0270.07720.30
7.0.10.0030.05320.13
7.0.00.0100.06720.16
5.6.280.0130.06320.77
5.6.210.0030.04020.66
5.6.200.0100.07718.16
5.6.190.0130.08020.41
5.6.180.0200.08320.60
5.6.170.0300.05320.50
5.6.160.0100.08020.38
5.6.150.0100.06318.18
5.6.140.0070.03718.09
5.6.130.0070.03718.12
5.6.120.0000.05020.99
5.6.110.0070.08020.97
5.6.100.0100.06720.97
5.6.90.0130.04720.96
5.6.80.0130.07720.38
5.5.350.4230.03720.39
5.5.340.0100.07317.91
5.5.330.0100.08320.15
5.5.320.0370.07720.41
5.5.310.0230.04020.50
5.5.300.0070.07717.98
5.5.290.0100.05317.98
5.5.280.0030.06320.75
5.5.270.0070.07720.66
5.5.260.0100.05320.82
5.5.250.0070.08320.68
5.5.240.0100.03020.25
5.4.450.0270.07019.59
5.4.440.0800.07019.46
5.4.430.0670.04019.13
5.4.420.0130.05719.27
5.4.410.0200.07019.50
5.4.400.0330.05319.28
5.4.390.0970.06719.16
5.4.380.0800.05018.95
5.4.370.1070.05319.09
5.4.360.1000.05019.27
5.4.350.0930.06019.16
5.4.340.0030.03911.96
5.4.320.0030.03912.45
5.4.310.0020.04112.45
5.4.300.0050.03712.45
5.4.290.0050.03812.45
5.4.280.0100.03012.34
5.4.270.0080.03712.35
5.4.260.0090.03812.34
5.4.250.0080.03912.34
5.4.240.0060.03612.34
5.4.230.0070.04212.34
5.4.220.0080.03512.34
5.4.210.0060.03512.34
5.4.200.0060.03712.34
5.4.190.0050.03612.34
5.4.180.0040.03812.34
5.4.170.0050.03612.35
5.4.160.0060.03512.34
5.4.150.0060.03612.34
5.4.140.0060.03612.02
5.4.130.0060.03412.01
5.4.120.0020.03811.96
5.4.110.0060.03611.96
5.4.100.0110.03011.96
5.4.90.0020.04011.96
5.4.80.0060.03611.96
5.4.70.0090.03111.96
5.4.60.0050.03611.96
5.4.50.0050.03611.96
5.4.40.0050.03511.95
5.4.30.0060.03511.95
5.4.20.0050.03511.95
5.4.10.0070.03311.95
5.4.00.0040.03711.43