3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url("/", PHP_URL_HOST));

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.0100.00719.27
7.1.200.0030.00915.63
7.1.100.0080.00318.11
7.1.70.0090.00017.04
7.1.60.0140.01119.70
7.1.50.0090.01516.86
7.1.00.0000.08022.29
7.0.200.0130.00316.63
7.0.140.0070.07022.01
7.0.60.0000.09019.81
7.0.50.0070.03717.78
7.0.40.0170.07720.12
7.0.30.0570.06320.21
7.0.20.0130.04320.14
7.0.10.0200.07320.34
7.0.00.0130.08020.12
5.6.280.0030.07321.12
5.6.210.0100.07320.46
5.6.200.0000.06018.21
5.6.190.0130.03720.35
5.6.180.0300.04020.65
5.6.170.0270.03720.71
5.6.160.0170.07320.48
5.6.150.0030.06718.19
5.6.140.0100.04718.08
5.6.130.0100.07718.18
5.6.120.0170.05321.01
5.6.110.0100.04721.05
5.6.100.0070.04020.98
5.6.90.0030.08720.95
5.6.80.0100.08020.33
5.6.70.0300.06720.50
5.5.350.0270.07020.28
5.5.340.0000.04317.92
5.5.330.0000.04320.23
5.5.320.0100.04320.47
5.5.310.0230.05020.29
5.5.300.0070.03718.00
5.5.290.0070.08317.93
5.5.280.0070.08720.79
5.5.270.0070.08020.79
5.5.260.0030.08020.87
5.5.250.0100.08320.79
5.5.240.0100.07720.34
5.4.450.0970.05319.47
5.4.440.0900.05319.41
5.4.430.0970.05019.41
5.4.420.0670.00019.46
5.4.410.0130.08718.96
5.4.400.0300.06018.75
5.4.390.0300.06018.70
5.4.380.0130.06318.60
5.4.370.0100.06018.52
5.4.360.0200.04318.38
5.4.350.0100.04211.97
5.4.340.0040.04011.96
5.4.320.0020.03912.45
5.4.310.0070.04312.45
5.4.300.0080.05212.45
5.4.290.0100.05412.45
5.4.280.0100.04812.34
5.4.270.0070.05212.35
5.4.260.0120.05012.35
5.4.250.0080.05212.35
5.4.240.0130.04912.34
5.4.230.0110.05512.34
5.4.220.0100.05112.34
5.4.210.0140.04712.34
5.4.200.0110.05612.34
5.4.190.0120.04412.34
5.4.180.0100.05112.33
5.4.170.0120.05112.34
5.4.160.0150.04312.34
5.4.150.0170.04212.34
5.4.140.0160.04212.02
5.4.130.0090.04412.01
5.4.120.0120.04211.97
5.4.110.0180.03711.96
5.4.100.0070.04611.96
5.4.90.0100.03911.96
5.4.80.0050.04011.96
5.4.70.0060.03911.96
5.4.60.0130.04311.96
5.4.50.0070.04811.96
5.4.40.0040.03711.95
5.4.30.0060.03611.95
5.4.20.0090.03411.95
5.4.10.0060.03711.95
5.4.00.0080.03811.43
5.3.290.0060.03912.80
5.3.280.0110.04212.71
5.3.270.0080.05512.73
5.3.260.0150.04812.72
5.3.250.0120.04412.72
5.3.240.0100.03512.72
5.3.230.0020.04812.71
5.3.220.0100.04612.68
5.3.210.0150.04212.68
5.3.200.0120.04812.68
5.3.190.0090.05112.68
5.3.180.0070.03712.67
5.3.170.0080.03412.66
5.3.160.0060.03912.67
5.3.150.0060.04212.67
5.3.140.0040.04712.66
5.3.130.0090.05712.65
5.3.120.0080.05512.66
5.3.110.0090.05712.66
5.3.100.0110.04912.12
5.3.90.0120.04412.08
5.3.80.0090.03512.07
5.3.70.0040.04012.07
5.3.60.0060.04112.06
5.3.50.0120.03512.00
5.3.40.0110.04912.00
5.3.30.0030.05411.94
5.3.20.0080.05111.71
5.3.10.0140.04011.69
5.3.00.0110.04111.67
5.2.170.0070.0419.18
5.2.160.0040.0429.18
5.2.150.0060.0429.18
5.2.140.0090.0399.17
5.2.130.0040.0439.13
5.2.120.0050.0419.14
5.2.110.0100.0389.14
5.2.100.0120.0389.13
5.2.90.0070.0439.14
5.2.80.0080.0439.13
5.2.70.0100.0399.13
5.2.60.0130.0369.09
5.2.50.0090.0399.05
5.2.40.0070.0419.03
5.2.30.0060.0429.00
5.2.20.0070.0399.00
5.2.10.0090.0368.91
5.2.00.0090.0408.77
5.1.60.0050.0278.06
5.1.50.0020.0318.05
5.1.40.0050.0288.04
5.1.30.0060.0298.39
5.1.20.0040.0298.41
5.1.10.0070.0268.14
5.1.00.0050.0308.14
5.0.50.0060.0216.61
5.0.40.0040.0216.47
5.0.30.0050.0356.28
5.0.20.0030.0246.26
5.0.10.0040.0236.23
5.0.00.0030.0366.22
4.4.90.0050.0164.78
4.4.80.0020.0204.75
4.4.70.0030.0184.75
4.4.60.0040.0204.75
4.4.50.0030.0214.77
4.4.40.0050.0314.71
4.4.30.0040.0194.76
4.4.20.0050.0194.85
4.4.10.0030.0214.85
4.4.00.0040.0424.76
4.3.110.0020.0284.67
4.3.100.0020.0254.66
4.3.90.0060.0184.63
4.3.80.0080.0344.58
4.3.70.0020.0224.63
4.3.60.0030.0214.63
4.3.50.0030.0204.63
4.3.40.0030.0324.54
4.3.30.0020.0253.29
4.3.20.0030.0233.26
4.3.10.0030.0223.22
4.3.00.0170.0236.98