3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(long2ip(0xC0A8071B)); var_dump(long2ip('00000000000000000000000017e50028'));

Here you find the average performance (time & memory) of each version. A greyed 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.0alpha10.0060.00312.76
7.2.60.0030.01316.60
7.2.00.0000.01119.10
7.1.100.0030.00718.21
7.1.70.0000.01017.18
7.1.60.0100.01419.82
7.1.50.0000.01916.82
7.1.00.0030.07722.46
7.0.200.0040.00416.48
7.0.140.0070.07022.21
7.0.60.0100.08320.09
7.0.50.0070.07718.02
7.0.40.0070.06320.17
7.0.30.0200.08320.45
7.0.20.0270.07320.29
7.0.10.0270.08720.21
7.0.00.0130.08020.30
5.6.280.0000.07320.80
5.6.210.0000.08320.73
5.6.200.0200.07318.34
5.6.190.0070.05720.73
5.6.180.2730.04020.84
5.6.170.0270.06320.63
5.6.160.0070.08020.52
5.6.150.0070.08318.21
5.6.140.0030.08318.24
5.6.130.0070.05718.21
5.6.120.0030.08721.03
5.6.110.0000.04721.12
5.6.100.0200.07021.17
5.6.90.0030.04020.93
5.6.80.0030.07320.44
5.6.70.0300.06720.45
5.5.350.0000.03320.34
5.5.340.0100.08318.11
5.5.330.0070.04020.34
5.5.320.0200.04020.41
5.5.310.0270.03320.49
5.5.300.0100.07318.14
5.5.290.0130.06017.97
5.5.280.0130.08020.88
5.5.270.0070.05320.79
5.5.260.0100.08320.78
5.5.250.0030.04020.71
5.5.240.0000.04020.18
5.4.450.0800.05019.53
5.4.440.0430.05319.64
5.4.430.0100.05319.48
5.4.420.0000.06719.58
5.4.410.0100.05319.32
5.4.400.0770.00018.95
5.4.390.0800.00018.65
5.4.380.0300.05318.82
5.4.370.0130.05318.52
5.4.360.0200.04718.68
5.4.350.0230.04718.85
5.4.340.0070.06018.78
5.4.320.0090.04012.49
5.4.310.0060.03712.48
5.4.300.0040.04612.49
5.4.290.0110.03912.49
5.4.280.0090.04612.36
5.4.270.0190.09112.36
5.4.260.0110.08112.36
5.4.250.0160.09112.35
5.4.240.0230.07212.35
5.4.230.0050.04712.35
5.4.220.0080.04612.35
5.4.210.0050.05112.35
5.4.200.0090.04712.35
5.4.190.0090.03612.34
5.4.180.0150.04512.34
5.4.170.0110.03212.35
5.4.160.0060.03812.34
5.4.150.0110.06612.34
5.4.140.0070.03812.03
5.4.130.0050.03712.02
5.4.120.0070.03511.98
5.4.110.0050.04811.97
5.4.100.0060.04111.97
5.4.90.0090.05811.97
5.4.80.0040.05711.97
5.4.70.0100.05011.97
5.4.60.0150.06011.96
5.4.50.0070.05111.96
5.4.40.0080.04111.95
5.4.30.0100.04811.95
5.4.20.0090.04611.96
5.4.10.0180.08811.95
5.4.00.0170.06711.45
5.3.290.0080.03812.80
5.3.280.0100.07412.71
5.3.270.0150.09012.72
5.3.260.0070.07512.71
5.3.250.0130.08612.72
5.3.240.0140.08612.72
5.3.230.0110.06212.71
5.3.220.0070.05812.68
5.3.210.0080.05812.68
5.3.200.0050.05912.68
5.3.190.0070.05812.67
5.3.180.0110.05112.68
5.3.170.0090.05312.67
5.3.160.0110.04812.67
5.3.150.0080.05112.67
5.3.140.0080.05612.66
5.3.130.0100.05512.65
5.3.120.0150.13112.66
5.3.110.0060.05812.66
5.3.100.0080.04312.12
5.3.90.0100.04612.09
5.3.80.0030.03912.07
5.3.70.0080.03412.07
5.3.60.0050.03912.06
5.3.50.0050.03812.00
5.3.40.0090.03412.00
5.3.30.0040.03711.95
5.3.20.0070.04711.73
5.3.10.0060.05011.70
5.3.00.0110.04611.68
5.2.170.0040.0429.18
5.2.160.0070.0459.18
5.2.150.0050.0459.18
5.2.140.0070.0449.18
5.2.130.0060.0479.14
5.2.120.0100.0439.14
5.2.110.0080.0419.14
5.2.100.0140.0369.14
5.2.90.0080.0429.13
5.2.80.0080.0429.13
5.2.70.0080.0439.13
5.2.60.0080.0469.08
5.2.50.0090.0389.05
5.2.40.0050.0409.03
5.2.30.0070.0419.01
5.2.20.0050.0399.00
5.2.10.0050.0398.91
5.2.00.0050.0418.77
5.1.60.0090.0298.06
5.1.50.0050.0358.06
5.1.40.0080.0328.04
5.1.30.0070.0358.39
5.1.20.0040.0398.41
5.1.10.0070.0338.14
5.1.00.0080.0358.14
5.0.50.0090.0256.61
5.0.40.0070.0276.48
5.0.30.0050.0336.28
5.0.20.0040.0226.26
5.0.10.0060.0276.23
5.0.00.0050.0416.22
4.4.90.0040.0234.78
4.4.80.0080.0204.75
4.4.70.0040.0244.76
4.4.60.0060.0214.75
4.4.50.0050.0234.77
4.4.40.0130.0574.71
4.4.30.0020.0184.76
4.4.20.0030.0194.84
4.4.10.0030.0174.85
4.4.00.0030.0274.76
4.3.110.0060.0204.67
4.3.100.0080.0174.66
4.3.90.0030.0214.63
4.3.80.0050.0314.58
4.3.70.0030.0214.63
4.3.60.0080.0174.63
4.3.50.0000.0254.63
4.3.40.0050.0314.54
4.3.30.0020.0183.28
4.3.20.0040.0173.27
4.3.10.0010.0173.22
4.3.00.0070.0236.54