3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $hex = "01FF016A005702"; $binary = base_convert($hex,16,2); echo $binary;

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.3.10.0030.01016.54
7.3.00.0070.00716.27
7.2.130.0110.00017.02
7.2.120.0030.01016.66
7.2.110.0030.00917.04
7.2.100.0000.01016.90
7.2.90.0000.01216.90
7.2.80.0070.00316.60
7.2.70.0070.00716.76
7.2.60.0060.00616.98
7.2.50.0100.00316.88
7.2.40.0000.01016.57
7.2.30.0080.00416.71
7.2.20.0060.00616.85
7.2.10.0060.00916.76
7.2.00.0120.00518.04
7.1.250.0030.00715.76
7.1.100.0030.01017.97
7.1.70.0080.00616.99
7.1.60.0070.01819.46
7.1.50.0100.01317.04
7.1.00.0030.07722.30
7.0.200.0080.00316.73
7.0.140.0070.06722.18
7.0.60.0130.05319.84
7.0.50.0030.04017.77
7.0.40.0170.07020.12
7.0.30.0430.05720.09
7.0.20.0400.07020.00
7.0.10.0070.05720.04
7.0.00.0030.07319.99
5.6.280.0100.06720.82
5.6.210.0070.05720.75
5.6.200.0100.05718.19
5.6.190.0000.05320.45
5.6.180.4970.04720.43
5.6.170.0230.04720.39
5.6.160.0130.03720.45
5.6.150.0000.04018.10
5.6.140.0070.05318.14
5.6.130.0030.04018.11
5.6.120.0070.08720.97
5.6.110.0070.08720.98
5.6.100.0170.07021.02
5.6.90.0000.04321.13
5.6.80.0130.05320.37
5.6.70.4700.04320.49
5.5.350.0270.05020.36
5.5.340.0070.07717.95
5.5.330.0130.07020.23
5.5.320.0330.07320.18
5.5.310.0270.07320.41
5.5.300.0070.08717.90
5.5.290.0100.06717.92
5.5.280.0130.07020.86
5.5.270.0000.04720.72
5.5.260.0170.06720.66
5.5.250.0100.07320.70
5.5.240.0300.07320.25
5.4.450.0400.04019.46
5.4.440.0530.05719.10
5.4.430.0430.03719.40
5.4.420.0370.04349.74
5.4.410.0300.04045.53
5.4.400.0130.04018.78
5.4.390.0200.03340.55
5.4.380.0430.04718.72
5.4.370.0270.06018.71
5.4.360.0330.05718.64
5.4.350.0300.06018.74
5.4.340.0370.04718.79
5.4.320.0060.03812.45
5.4.310.0070.03712.45
5.4.300.0180.05312.45
5.4.290.0110.04712.45
5.4.280.0200.07312.35
5.4.270.0150.06412.34
5.4.260.0100.04912.35
5.4.250.0080.05212.34
5.4.240.0070.05112.34
5.4.230.0040.05612.34
5.4.220.0110.04712.34
5.4.210.0080.04912.34
5.4.200.0070.05212.34
5.4.190.0090.05012.34
5.4.180.0210.07312.34
5.4.170.0100.05112.34
5.4.160.0110.05012.34
5.4.150.0090.05212.34
5.4.140.0120.05112.02
5.4.130.0120.04512.01
5.4.120.0110.04411.97
5.4.110.0050.04011.96
5.4.100.0070.03611.96
5.4.90.0040.04211.96
5.4.80.0040.04211.96
5.4.70.0050.03911.96
5.4.60.0050.03911.96
5.4.50.0100.03511.96
5.4.40.0070.03511.95
5.4.30.0060.03611.95
5.4.20.0070.03811.95
5.4.10.0090.03411.95
5.4.00.0060.05311.43
5.3.290.0070.03812.80
5.3.280.0090.04112.71
5.3.270.0090.05412.72
5.3.260.0070.04512.72
5.3.250.0040.05712.72
5.3.240.0090.03812.72
5.3.230.0100.04212.71
5.3.220.0090.03612.68
5.3.210.0050.04312.68
5.3.200.0080.03612.68
5.3.190.0060.03912.68
5.3.180.0060.03712.67
5.3.170.0090.03412.67
5.3.160.0040.03812.67
5.3.150.0060.03712.68
5.3.140.0060.03612.66
5.3.130.0080.03712.66
5.3.120.0080.03612.66
5.3.110.0100.03412.65
5.3.100.0060.03612.11
5.3.90.0050.04112.08
5.3.80.0090.04712.07
5.3.70.0120.04412.08
5.3.60.0080.04812.07
5.3.50.0080.04012.00
5.3.40.0070.03912.00
5.3.30.0070.03611.94
5.3.20.0060.03711.72
5.3.10.0030.03911.69
5.3.00.0070.03711.67
5.2.170.0050.0319.18
5.2.160.0030.0359.18
5.2.150.0050.0339.18
5.2.140.0060.0319.18
5.2.130.0080.0269.14
5.2.120.0040.0309.14
5.2.110.0040.0319.14
5.2.100.0020.0329.14
5.2.90.0050.0329.14
5.2.80.0050.0399.13
5.2.70.0060.0349.13
5.2.60.0070.0349.08
5.2.50.0070.0369.05
5.2.40.0070.0349.02
5.2.30.0080.0359.00
5.2.20.0070.0339.00
5.2.10.0040.0328.91
5.2.00.0060.0318.77
5.1.60.0060.0258.06
5.1.50.0090.0258.06
5.1.40.0040.0278.04
5.1.30.0070.0268.39
5.1.20.0060.0348.41
5.1.10.0060.0338.13
5.1.00.0050.0368.13
5.0.50.0090.0236.61
5.0.40.0040.0276.47
5.0.30.0080.0376.29
5.0.20.0060.0246.25
5.0.10.0100.0226.23
5.0.00.0070.0356.22
4.4.90.0030.0224.78
4.4.80.0040.0214.75
4.4.70.0050.0204.75
4.4.60.0010.0224.76
4.4.50.0050.0194.77
4.4.40.0030.0334.71
4.4.30.0060.0174.76
4.4.20.0040.0204.84
4.4.10.0040.0314.85
4.4.00.0020.0344.76
4.3.110.0050.0194.66
4.3.100.0030.0214.66
4.3.90.0040.0224.63
4.3.80.0030.0334.59
4.3.70.0020.0224.63
4.3.60.0000.0254.63
4.3.50.0020.0244.63
4.3.40.0070.0334.54
4.3.30.0020.0243.28
4.3.20.0040.0213.25
4.3.10.0070.0163.22
4.3.00.0070.01739.32