3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(parse_url('://example.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.3.10.0140.00316.53
7.3.00.0110.00716.43
7.2.130.0070.01316.73
7.2.120.0070.00716.34
7.2.110.0100.01016.44
7.2.100.0160.00616.72
7.2.90.0120.00316.64
7.2.80.0130.00316.91
7.2.70.0120.00316.66
7.2.60.0120.00316.72
7.2.50.0090.00916.75
7.2.40.0130.00316.58
7.2.30.0030.01216.80
7.2.20.0170.00316.25
7.2.10.0120.00616.27
7.2.00.0050.01017.88
7.1.250.0080.01115.65
7.1.100.0040.00817.88
7.1.70.0030.00717.18
7.1.60.0070.01719.70
7.1.50.0300.00734.57
7.1.00.0000.08022.40
7.0.200.0000.00816.36
7.0.140.0000.07722.01
7.0.60.0030.04019.81
7.0.50.0070.07717.88
7.0.40.0270.06720.22
7.0.30.0070.05020.15
7.0.20.0230.04720.00
7.0.10.0100.04020.19
7.0.00.0070.03720.11
5.6.280.0000.07720.86
5.6.210.0100.07020.68
5.6.200.0100.07718.08
5.6.190.0070.03720.60
5.6.180.3600.04020.61
5.6.170.0200.06320.49
5.6.160.0100.05720.38
5.6.150.0030.09018.21
5.6.140.0100.07718.17
5.6.130.0030.06318.14
5.6.120.0030.06021.01
5.6.110.0170.05321.00
5.6.100.0100.07721.13
5.6.90.0230.07321.09
5.6.80.0070.05320.35
5.6.70.2830.04020.52
5.5.350.0200.08020.38
5.5.340.0100.06718.02
5.5.330.0000.04320.40
5.5.320.0300.06320.31
5.5.310.0130.04720.27
5.5.300.0000.04317.95
5.5.290.0100.07717.93
5.5.280.0100.07720.64
5.5.270.0200.03320.87
5.5.260.0030.08020.76
5.5.250.0130.07320.57
5.5.240.0200.07720.25
5.4.450.0270.03729.93
5.4.440.0230.04729.52
5.4.430.0070.04328.29
5.4.420.0200.04028.29
5.4.410.0330.04328.29
5.4.400.1170.02728.29
5.4.390.0400.04328.29
5.4.380.0170.05018.59
5.4.370.0170.06718.48
5.4.360.0270.04718.51
5.4.350.0130.05318.77
5.4.340.0170.05018.72
5.4.320.0110.03112.45
5.4.310.0090.03412.45
5.4.300.0100.03212.45
5.4.290.0050.04012.45
5.4.280.0100.03512.34
5.4.270.0040.04412.35
5.4.260.0080.04512.35
5.4.250.0050.05012.35
5.4.240.0120.04112.35
5.4.230.0130.03712.34
5.4.220.0080.04712.34
5.4.210.0090.04512.34
5.4.200.0070.04512.34
5.4.190.0080.04112.33
5.4.180.0040.04412.33
5.4.170.0080.04112.34
5.4.160.0070.04012.34
5.4.150.0030.04212.34
5.4.140.0080.04612.02
5.4.130.0110.04412.01
5.4.120.0110.04611.97
5.4.110.0090.04911.96
5.4.100.0080.04711.96
5.4.90.0130.04711.96
5.4.80.0050.04611.96
5.4.70.0080.04211.96
5.4.60.0080.04111.96
5.4.50.0100.03611.96
5.4.40.0090.03711.95
5.4.30.0080.04311.95
5.4.20.0070.05511.95
5.4.10.0090.05111.95
5.4.00.0100.04611.44
5.3.290.0050.04412.80
5.3.280.0100.04512.71
5.3.270.0100.04512.73
5.3.260.0120.04412.71
5.3.250.0090.04412.72
5.3.240.0090.04512.71
5.3.230.0100.04412.71
5.3.220.0080.04612.68
5.3.210.0120.05812.68
5.3.200.0080.05512.68
5.3.190.0100.05212.68
5.3.180.0100.04612.68
5.3.170.0120.04612.66
5.3.160.0110.04412.67
5.3.150.0070.04912.68
5.3.140.0060.04812.66
5.3.130.0100.04612.66
5.3.120.0070.04812.66
5.3.110.0060.04212.66
5.3.100.0080.04112.12
5.3.90.0060.03912.09
5.3.80.0100.03712.07
5.3.70.0100.04712.07
5.3.60.0050.05012.06
5.3.50.0070.04112.00
5.3.40.0100.03912.00
5.3.30.0080.03611.94
5.3.20.0080.03911.71
5.3.10.0130.03611.69
5.3.00.0060.03911.68
5.2.170.0050.0359.18
5.2.160.0070.0329.18
5.2.150.0050.0339.18
5.2.140.0060.0339.17
5.2.130.0060.0309.13
5.2.120.0080.0369.13
5.2.110.0090.0379.14
5.2.100.0050.0339.13
5.2.90.0050.0369.14
5.2.80.0090.0389.13
5.2.70.0040.0469.13
5.2.60.0110.0409.09
5.2.50.0080.0429.05
5.2.40.0090.0379.04
5.2.30.0100.0399.01
5.2.20.0080.0388.99
5.2.10.0080.0378.92
5.2.00.0100.0388.77
5.1.60.0080.0338.05
5.1.50.0060.0328.06
5.1.40.0130.0308.04
5.1.30.0100.0348.39
5.1.20.0070.0388.41
5.1.10.0110.0308.14
5.1.00.0090.0328.14
5.0.50.0060.0266.61
5.0.40.0070.0256.47
5.0.30.0060.0416.28
5.0.20.0060.0266.25
5.0.10.0070.0276.23
5.0.00.0080.0386.23
4.4.90.0060.0214.78
4.4.80.0030.0244.76
4.4.70.0090.0174.76
4.4.60.0050.0204.75
4.4.50.0020.0234.77
4.4.40.0040.0314.71
4.4.30.0040.0174.76
4.4.20.0020.0204.84
4.4.10.0050.0224.85
4.4.00.0070.0314.76
4.3.110.0040.0244.67
4.3.100.0030.0244.66
4.3.90.0060.0194.64
4.3.80.0050.0324.59
4.3.70.0040.0214.63
4.3.60.0030.0224.63
4.3.50.0070.0194.63
4.3.40.0040.0334.54
4.3.30.0040.0193.28
4.3.20.0040.0203.25
4.3.10.0030.0223.21
4.3.00.0030.01728.29