3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print base_convert(16516351,10, 36);

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.0060.01016.66
7.2.00.0030.00919.30
7.1.200.0080.00415.75
7.1.100.0030.00917.79
7.1.70.0030.00917.06
7.1.60.0060.01819.46
7.1.50.0060.01516.67
7.1.00.0100.07022.51
7.0.200.0060.01016.66
7.0.140.0030.07322.18
7.0.60.0000.08719.95
7.0.50.0070.07317.84
7.0.40.0230.06719.90
7.0.30.0200.08720.16
7.0.20.0230.08320.09
7.0.10.0300.05320.02
7.0.00.0130.07720.16
5.6.280.0030.07320.90
5.6.210.0070.06720.74
5.6.200.0100.03318.15
5.6.190.0000.04720.77
5.6.180.3270.02720.39
5.6.170.0330.07720.49
5.6.160.0170.05320.71
5.6.150.0030.08318.09
5.6.140.0070.05018.12
5.6.130.0030.07018.11
5.6.120.0030.05320.89
5.6.110.0200.07320.96
5.6.100.0070.04020.99
5.6.90.0030.07721.00
5.6.80.0100.06320.37
5.6.70.0370.06320.52
5.5.350.0200.04720.51
5.5.340.0100.07317.89
5.5.330.0130.07720.14
5.5.320.0230.08020.15
5.5.310.0300.07720.20
5.5.300.0070.08017.98
5.5.290.0030.08317.96
5.5.280.0070.05720.87
5.5.270.0170.06720.76
5.5.260.0270.06720.95
5.5.250.0030.08720.77
5.5.240.0100.07720.03
5.4.450.0430.05019.46
5.4.440.1030.06019.48
5.4.430.0130.05719.44
5.4.420.0630.00019.30
5.4.410.0100.06018.84
5.4.400.0330.04318.77
5.4.390.0270.06318.72
5.4.380.0200.05718.46
5.4.370.0030.04318.64
5.4.360.0070.03718.53
5.4.350.0090.04111.97
5.4.340.0060.04011.97
5.4.320.0100.03512.45
5.4.310.0050.04512.45
5.4.300.0070.04512.45
5.4.290.0080.05512.45
5.4.280.0060.03912.35
5.4.270.0060.03712.35
5.4.260.0040.04112.34
5.4.250.0060.04312.35
5.4.240.0090.03812.34
5.4.230.0060.03712.34
5.4.220.0050.03912.34
5.4.210.0090.03912.34
5.4.200.0060.03812.34
5.4.190.0040.03812.34
5.4.180.0030.04112.34
5.4.170.0040.03812.34
5.4.160.0050.03712.34
5.4.150.0050.04312.34
5.4.140.0040.04312.02
5.4.130.0090.03512.01
5.4.120.0060.03711.97
5.4.110.0060.03411.96
5.4.100.0090.03511.96
5.4.90.0030.04211.96
5.4.80.0070.03911.96
5.4.70.0070.04011.96
5.4.60.0100.05311.96
5.4.50.0110.03411.96
5.4.40.0110.04711.95
5.4.30.0110.03911.95
5.4.20.0050.04211.95
5.4.10.0060.04311.95
5.4.00.0070.04411.43
5.3.290.0070.03712.80
5.3.280.0070.04512.71
5.3.270.0050.05012.72
5.3.260.0060.04812.72
5.3.250.0070.04212.72
5.3.240.0060.04412.72
5.3.230.0060.03912.71
5.3.220.0070.03812.68
5.3.210.0080.04012.68
5.3.200.0040.04012.68
5.3.190.0090.03512.68
5.3.180.0100.03412.67
5.3.170.0100.03712.67
5.3.160.0110.03612.68
5.3.150.0090.04512.67
5.3.140.0030.04312.66
5.3.130.0140.05912.66
5.3.120.0100.04612.66
5.3.110.0130.04812.65
5.3.100.0080.03612.12
5.3.90.0060.03912.08
5.3.80.0100.04012.07
5.3.70.0080.03912.08
5.3.60.0080.04212.07
5.3.50.0090.03812.00
5.3.40.0070.05712.00
5.3.30.0090.05811.94
5.3.20.0090.04811.71
5.3.10.0050.05311.69
5.3.00.0110.04811.68
5.2.170.0080.0409.18
5.2.160.0070.0409.18
5.2.150.0070.0449.18
5.2.140.0070.0369.18
5.2.130.0180.0649.13
5.2.120.0090.0319.13
5.2.110.0060.0379.14
5.2.100.0070.0389.13
5.2.90.0190.0909.14
5.2.80.0120.0559.13
5.2.70.0080.0399.13
5.2.60.0040.0409.09
5.2.50.0060.0319.05
5.2.40.0060.0329.03
5.2.30.0060.0449.01
5.2.20.0060.0329.00
5.2.10.0030.0378.93
5.2.00.0040.0428.79
5.1.60.0120.0298.07
5.1.50.0090.0278.07
5.1.40.0060.0258.05
5.1.30.0100.0258.41
5.1.20.0090.0358.42
5.1.10.0060.0328.15
5.1.00.0080.0258.15
5.0.50.0020.0246.63
5.0.40.0040.0216.49
5.0.30.0050.0426.30
5.0.20.0040.0216.27
5.0.10.0030.0306.24
5.0.00.0030.0356.24
4.4.90.0020.0184.78
4.4.80.0000.0194.75
4.4.70.0040.0144.75
4.4.60.0030.0164.75
4.4.50.0060.0134.77
4.4.40.0040.0254.71
4.4.30.0050.0134.76
4.4.20.0020.0174.84
4.4.10.0030.0194.85
4.4.00.0040.0274.76
4.3.110.0030.0164.66
4.3.100.0030.0144.66
4.3.90.0030.0144.63
4.3.80.0020.0244.58
4.3.70.0010.0164.63
4.3.60.0020.0154.63
4.3.50.0010.0174.63
4.3.40.0040.0234.54
4.3.30.0010.0183.29
4.3.20.0030.0153.27
4.3.10.0020.0163.22
4.3.00.0030.01316.12