3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'ftp://some.ftp.host.ru/path/to/main.page.htm'; var_dump(parse_url($url)); var_dump(path_info($url));

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.110.0100.00716.56
7.2.60.0100.00316.89
7.2.00.0110.00419.32
7.1.200.0060.00615.52
7.1.100.0030.01218.02
7.1.70.0000.00817.01
7.1.60.0150.00919.40
7.1.50.0070.01316.92
7.1.00.0030.07722.41
7.0.200.0030.00316.63
7.0.140.0000.07722.09
7.0.60.0000.04719.82
7.0.50.0130.08017.80
7.0.40.0170.07717.68
7.0.30.0130.07017.79
7.0.20.0070.08717.79
7.0.10.0070.06717.81
7.0.00.0030.05017.75
5.6.280.0000.07720.89
5.6.210.0030.07020.46
5.6.200.0070.08318.23
5.6.190.0100.06718.21
5.6.180.0100.04718.15
5.6.170.0130.08018.17
5.6.160.0030.04318.21
5.6.150.0070.05318.22
5.6.140.0130.08318.09
5.6.130.0130.07018.20
5.6.120.0100.03718.17
5.6.110.0100.07718.17
5.6.100.0030.05718.17
5.6.90.0030.05018.16
5.6.80.0100.06017.60
5.6.70.0030.08317.60
5.6.60.0100.06017.49
5.6.50.0030.05317.51
5.6.40.0130.07317.47
5.6.30.0100.06017.46
5.6.20.0030.05717.46
5.6.10.0100.08017.52
5.6.00.0070.05017.43
5.5.350.0170.07020.31
5.5.340.0100.06717.88
5.5.330.0030.04018.02
5.5.320.0130.07717.88
5.5.310.0030.08318.02
5.5.300.0130.06017.88
5.5.290.0030.06017.89
5.5.280.0030.04717.97
5.5.270.0170.04017.94
5.5.260.0070.08317.95
5.5.250.0030.04317.86
5.5.240.0130.07017.37
5.5.230.0000.05717.26
5.5.220.0100.03317.38
5.5.210.0100.06317.34
5.5.200.0100.07017.36
5.5.190.0030.05017.27
5.5.180.0070.03717.34
5.5.160.0130.07317.33
5.5.150.0100.07017.29
5.5.140.0030.05717.30
5.5.130.0130.06717.29
5.5.120.0030.06017.36
5.5.110.0030.08017.36
5.5.100.0070.07717.21
5.5.90.0070.07017.16
5.5.80.0070.08017.23
5.5.70.0100.07717.16
5.5.60.0100.03317.16
5.5.50.0070.03717.21
5.5.40.0070.03317.21
5.5.30.0070.03317.26
5.5.20.0100.03017.13
5.5.10.0000.04017.20
5.5.00.0000.04017.24
5.4.450.0100.08319.28
5.4.440.0070.08319.35
5.4.430.0100.04319.30
5.4.420.0030.08719.29
5.4.410.0030.04019.16
5.4.400.0070.06719.02
5.4.390.0130.05019.11
5.4.380.0130.04318.99
5.4.370.0030.07719.04
5.4.360.0070.05718.95
5.4.350.0100.07019.09
5.4.340.0070.08319.06
5.4.320.0200.06018.91
5.4.310.0100.07319.21
5.4.300.0000.04318.98
5.4.290.0030.04018.98
5.4.280.0100.08019.13
5.4.270.0030.08319.07
5.4.260.0100.04719.20
5.4.250.0100.07718.98
5.4.240.0130.05718.97
5.4.230.0130.07318.96
5.4.220.0000.06718.88
5.4.210.0070.07719.02
5.4.200.0100.04019.02
5.4.190.0030.04019.02
5.4.180.0000.04018.98
5.4.170.0030.03719.10
5.4.160.0100.03019.19
5.4.150.0070.04018.95
5.4.140.0070.03316.30
5.4.130.0000.03716.26
5.4.120.0000.03716.17
5.4.110.0030.03316.53
5.4.100.0070.03016.23
5.4.90.0030.03316.44
5.4.80.0000.03716.27
5.4.70.0030.03716.39
5.4.60.0100.04716.31
5.4.50.0000.03716.36
5.4.40.0030.03316.32
5.4.30.0100.02716.32
5.4.20.0030.03316.16
5.4.10.0000.03716.49
5.4.00.0000.04015.62
5.3.290.0000.05314.60
5.3.280.0170.06714.37
5.3.270.0000.04014.43
5.3.260.0030.03714.52
5.3.250.0030.03714.43
5.3.240.0000.04014.54
5.3.230.0030.03714.44
5.3.220.0000.03714.49
5.3.210.0030.03714.39
5.3.200.0000.03714.55
5.3.190.0070.03714.49
5.3.180.0070.04314.52
5.3.170.0100.03014.38
5.3.160.0000.03714.55
5.3.150.0030.04314.53
5.3.140.0030.04014.51
5.3.130.0100.04014.51
5.3.120.0070.03314.49
5.3.110.0030.04014.52
5.3.100.0000.03713.97
5.3.90.0000.03713.84
5.3.80.0030.03713.94
5.3.70.0000.04013.86
5.3.60.0030.03313.96
5.3.50.0000.03713.86
5.3.40.0000.04013.70
5.3.30.0030.03313.82
5.3.20.0030.03313.63
5.3.10.0100.04013.61
5.3.00.0070.07013.59
5.2.170.0000.03311.15
5.2.160.0000.03011.09
5.2.150.0030.02711.13
5.2.140.0030.02710.92
5.2.130.0000.03011.08
5.2.120.0030.02711.07
5.2.110.0070.06311.09
5.2.100.0070.05011.01
5.2.90.0030.04711.09
5.2.80.0070.05710.91
5.2.70.0100.04011.02
5.2.60.0030.05311.04
5.2.50.0030.05311.01
5.2.40.0070.06010.93
5.2.30.0070.06310.76
5.2.20.0030.04710.78
5.2.10.0030.03710.84
5.2.00.0070.03710.61
5.1.60.0030.05010.02
5.1.50.0000.06010.03
5.1.40.0000.0279.80
5.1.30.0070.02310.36
5.1.20.0000.04010.38
5.1.10.0100.05310.09
5.1.00.0000.06310.07
5.0.50.0030.0308.48
5.0.40.0030.0278.38
5.0.30.0100.0478.24
5.0.20.0030.0208.22
5.0.10.0100.0238.22
5.0.00.0030.0308.22
4.4.90.0000.0408.22
4.4.80.0030.0378.22
4.4.70.0000.0378.22
4.4.60.0070.0238.22
4.4.50.0030.0338.22
4.4.40.0030.0538.22
4.4.30.0030.0138.22
4.4.20.0000.0408.22
4.4.10.0030.0378.22
4.4.00.0030.0378.22
4.3.110.0000.0238.22
4.3.100.0030.0178.22
4.3.90.0000.0178.22
4.3.80.0000.0438.22
4.3.70.0000.0308.22
4.3.60.0070.0308.22
4.3.50.0070.0178.22
4.3.40.0030.0308.22
4.3.30.0070.0338.22
4.3.20.0000.0308.22
4.3.10.0030.0338.22
4.3.00.0070.0338.22