3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(gethostbyname('www.vk.com'));

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.0090.00319.48
7.1.100.0070.01017.98
7.1.70.0040.00417.24
7.1.60.0130.01019.46
7.1.50.0040.00817.07
7.1.00.0000.08022.75
7.0.200.0070.00416.72
7.0.140.0030.06722.48
7.0.60.0130.07320.20
7.0.50.0130.07318.15
7.0.40.0100.04020.56
7.0.30.0230.03320.46
7.0.20.0330.07020.42
7.0.10.0100.06720.66
7.0.00.0070.04020.51
5.6.280.0070.07021.21
5.6.210.0130.03021.02
5.6.200.0070.04718.50
5.6.190.0030.08021.07
5.6.180.0000.06021.00
5.6.170.0200.08020.78
5.6.160.0030.07320.87
5.6.150.0100.07718.59
5.6.140.0100.04018.66
5.6.130.0030.09018.50
5.6.120.0070.05021.25
5.6.110.0070.06021.35
5.6.100.0070.08021.34
5.6.90.0170.07321.34
5.6.80.0070.03320.63
5.5.350.0070.08020.73
5.5.340.0100.05718.22
5.5.330.0100.08720.83
5.5.320.0330.05020.56
5.5.310.0300.08020.55
5.5.300.0100.08018.26
5.5.290.0070.08018.26
5.5.280.0030.06721.18
5.5.270.0070.08321.02
5.5.260.0070.06321.13
5.5.250.0130.06321.03
5.5.240.0000.03320.57
5.4.450.0830.05019.63
5.4.440.0730.06319.64
5.4.430.0630.05319.77
5.4.420.0600.05719.61
5.4.410.0970.09019.51
5.4.400.0970.04719.47
5.4.390.0100.05319.41
5.4.380.0430.04718.78
5.4.370.0330.04719.02
5.4.360.0330.05318.94
5.4.350.0130.06719.09
5.4.340.0470.05719.08
5.4.320.0050.04612.65
5.4.310.0080.03812.64
5.4.300.0050.03812.65
5.4.290.0040.04212.65
5.4.280.0060.03812.54
5.4.270.0110.03212.55
5.4.260.0060.03812.54
5.4.250.0100.03412.55
5.4.240.0060.03712.54
5.4.230.0050.04012.54
5.4.220.0070.03512.54
5.4.210.0070.03512.54
5.4.200.0070.03712.54
5.4.190.0030.03912.54
5.4.180.0080.03412.54
5.4.170.0090.03312.54
5.4.160.0060.03812.54
5.4.150.0070.03512.54
5.4.140.0080.03712.22
5.4.130.0070.03412.21
5.4.120.0070.03812.16
5.4.110.0050.04112.16
5.4.100.0070.03612.16
5.4.90.0090.03912.17
5.4.80.0060.03812.16
5.4.70.0040.03712.16
5.4.60.0080.03312.16
5.4.50.0060.03712.15
5.4.40.0080.03412.14
5.4.30.0080.03612.14
5.4.20.0100.03512.14
5.4.10.0060.03412.14
5.4.00.0060.04311.63
5.3.290.0110.04012.84
5.3.280.0130.04912.78
5.3.270.0070.04312.79
5.3.260.0070.04212.79
5.3.250.0060.04112.79
5.3.240.0060.04112.79
5.3.230.0050.04212.78
5.3.220.0100.03912.75
5.3.210.0080.04812.75
5.3.200.0130.06212.75
5.3.190.0080.04412.75
5.3.180.0090.03912.74
5.3.170.0120.04112.74
5.3.160.0130.04112.74
5.3.150.0090.04012.74
5.3.140.0080.03912.74
5.3.130.0090.05412.73
5.3.120.0070.04212.73
5.3.110.0080.05512.73
5.3.100.0080.04112.22
5.3.90.0080.05312.20
5.3.80.0050.04412.20
5.3.70.0060.03712.20
5.3.60.0050.04912.18
5.3.50.0090.03412.13
5.3.40.0070.03512.13
5.3.30.0060.03612.09
5.3.20.0090.03211.87
5.3.10.0080.03211.84
5.3.00.0060.03611.82
5.2.170.0030.0339.32
5.2.160.0080.0289.32
5.2.150.0090.0279.32
5.2.140.0060.0359.32
5.2.130.0070.0289.28
5.2.120.0060.0289.27
5.2.110.0040.0319.29
5.2.100.0050.0289.29
5.2.90.0090.0279.29
5.2.80.0050.0319.28
5.2.70.0070.0299.28
5.2.60.0030.0339.23
5.2.50.0020.0339.20
5.2.40.0050.0299.18
5.2.30.0060.0299.15
5.2.20.0050.0299.14
5.2.10.0060.0279.04
5.2.00.0070.0288.90
5.1.60.0050.0248.18
5.1.50.0030.0278.18
5.1.40.0050.0258.16
5.1.30.0030.0278.52
5.1.20.0030.0308.53
5.1.10.0060.0258.25
5.1.00.0020.0308.26
5.0.50.0030.0216.74
5.0.40.0040.0196.59
5.0.30.0030.0326.41
5.0.20.0020.0216.38
5.0.10.0030.0206.35
5.0.00.0030.0336.34
4.4.90.0040.0144.78
4.4.80.0040.0144.76
4.4.70.0010.0174.75
4.4.60.0020.0164.76
4.4.50.0020.0184.77
4.4.40.0030.0264.73
4.4.30.0020.0184.76
4.4.20.0020.0174.84
4.4.10.0030.0154.85
4.4.00.0020.0254.76
4.3.110.0050.0134.67
4.3.100.0030.0154.66
4.3.90.0040.0134.64
4.3.80.0030.0244.63
4.3.70.0030.0144.63
4.3.60.0020.0154.63
4.3.50.0030.0164.62
4.3.40.0030.0244.59
4.3.30.0030.0153.39
4.3.20.0030.0153.37
4.3.10.0010.0163.32
4.3.00.0170.0206.92