3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOF <!doctype html> <html> <head> <link href='http://wendyandgabe.blogspot.com/favicon.ico' rel='icon' type='image/x-icon'/> <link href='http://wendyandgabe.blogspot.com/' rel='canonical'/> <link rel="alternate" type="application/atom+xml" title="O&#39; Happy Day! - Atom" href="http://wendyandgabe.blogspot.com/feeds/posts/default" /> <link rel="alternate" type="application/rss+xml" title="O&#39; Happy Day! - RSS" href="http://wendyandgabe.blogspot.com/feeds/posts/default?alt=rss" /> <link rel="service.post" type="application/atom+xml" title="O&#39; Happy Day! - Atom" href="http://www.blogger.com/feeds/5390468261501503598/posts/default" /> </head> <body> </body> </html> EOF; $xml = new DomDocument; $xml->loadXML($html); //create a xpath instance $xpath = new DomXpath($xml); //query for <sub name="Y"> and use the first found item $link = $xpath->query('//link[@type="application/rss+xml"]')->item(0); var_dump($link->getAttribute('href'));

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0110.00419.29
8.3.30.0100.00719.56
8.3.20.0000.00920.52
8.3.10.0080.00024.16
8.3.00.0040.00421.27
8.2.170.0110.00422.96
8.2.160.0060.00920.57
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0090.00020.93
8.2.110.0030.00720.64
8.2.100.0110.00018.22
8.2.90.0000.00819.48
8.2.80.0080.00018.00
8.2.70.0060.00317.88
8.2.60.0030.00618.30
8.2.50.0040.00418.07
8.2.40.0000.00820.07
8.2.30.0040.00418.74
8.2.20.0050.00317.84
8.2.10.0030.00518.33
8.2.00.0040.00418.14
8.1.270.0040.00422.30
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0070.00324.08
8.1.230.0090.00317.97
8.1.220.0030.00517.89
8.1.210.0000.00818.77
8.1.200.0030.00617.60
8.1.190.0060.00317.60
8.1.180.0040.00418.10
8.1.170.0050.00318.65
8.1.160.0040.00422.28
8.1.150.0040.00419.06
8.1.140.0040.00417.85
8.1.130.0000.00718.32
8.1.120.0000.00717.80
8.1.110.0040.00417.76
8.1.100.0000.00817.55
8.1.90.0040.00417.75
8.1.80.0050.00217.62
8.1.70.0000.00717.76
8.1.60.0000.00817.95
8.1.50.0000.00917.66
8.1.40.0050.00317.87
8.1.30.0060.00317.86
8.1.20.0090.00017.89
8.1.10.0050.00317.92
8.1.00.0070.00417.69
8.0.300.0000.00718.77
8.0.290.0000.00917.13
8.0.280.0070.00018.73
8.0.270.0000.00717.65
8.0.260.0030.00317.42
8.0.250.0030.00317.39
8.0.240.0040.00417.38
8.0.230.0070.00017.41
8.0.220.0050.00317.17
8.0.210.0030.00317.31
8.0.200.0060.00017.34
8.0.190.0040.00417.19
8.0.180.0030.00617.39
8.0.170.0030.00617.25
8.0.160.0030.00517.18
8.0.150.0000.00817.07
8.0.140.0070.00017.19
8.0.130.0040.00413.78
8.0.120.0040.00417.27
8.0.110.0000.00817.21
8.0.100.0040.00417.20
8.0.90.0040.00417.24
8.0.80.0030.01917.22
8.0.70.0040.00417.11
8.0.60.0050.00317.20
8.0.50.0000.00817.06
8.0.30.0120.00817.29
8.0.20.0130.01017.40
8.0.10.0050.00217.25
8.0.00.0120.00617.06
7.4.330.0000.00515.42
7.4.320.0030.00316.84
7.4.300.0060.00016.75
7.4.290.0000.00716.71
7.4.280.0090.00016.90
7.4.270.0000.00816.81
7.4.260.0000.01216.89
7.4.250.0040.00416.71
7.4.240.0030.00516.79
7.4.230.0030.00716.96
7.4.220.0170.00316.94
7.4.210.0110.00416.79
7.4.200.0040.00416.94
7.4.160.0120.00316.93
7.4.150.0150.00317.40
7.4.140.0160.00117.86
7.4.130.0110.00716.88
7.4.120.0120.00816.77
7.4.110.0140.00316.70
7.4.100.0100.00716.89
7.4.90.0060.00916.79
7.4.80.0060.01019.39
7.4.70.0180.00016.96
7.4.60.0120.00916.80
7.4.50.0070.00016.50
7.4.40.0030.01516.84
7.4.30.0070.01016.91
7.4.00.0070.00714.98
7.3.330.0000.00513.60
7.3.320.0030.00313.40
7.3.310.0000.00716.75
7.3.300.0030.00616.54
7.3.290.0100.01016.73
7.3.280.0080.01216.61
7.3.270.0130.00617.40
7.3.260.0040.01516.82
7.3.250.0120.00516.77
7.3.240.0130.01016.71
7.3.230.0090.01316.56
7.3.210.0030.01416.70
7.3.200.0170.00019.39
7.3.190.0100.01116.82
7.3.180.0080.00816.67
7.3.170.0100.00716.75
7.3.160.0060.01716.75
7.3.120.0120.00314.89
7.3.10.0040.00816.72
7.3.00.0080.00416.86
7.2.330.0120.01516.97
7.2.320.0080.01416.84
7.2.310.0000.01617.13
7.2.300.0160.00017.04
7.2.290.0120.00617.05
7.2.130.0060.00316.71
7.2.120.0080.00517.15
7.2.110.0030.01016.91
7.2.100.0040.00816.96
7.2.90.0090.00616.98
7.2.80.0000.01516.92
7.2.70.0070.00716.97
7.2.60.0040.00716.99
7.2.50.0070.00716.78
7.2.40.0110.00316.82
7.2.30.0040.00817.03
7.2.20.0000.00916.97
7.2.10.0100.00316.98
7.2.00.0050.00918.27
7.1.250.0060.00315.88
7.1.200.0040.00815.48
7.1.100.0000.01718.12
7.1.70.0040.00417.04
7.1.60.0070.01819.70
7.1.50.0100.01317.01
7.1.00.0000.07722.65
7.0.200.0070.00316.89
7.0.140.0070.07022.38
7.0.100.0130.07720.10
7.0.90.0070.08320.07
7.0.80.0030.04720.05
7.0.70.0200.04320.09
7.0.60.0130.07020.06
7.0.50.0300.08020.52
7.0.40.0130.07720.23
7.0.30.0100.05720.15
7.0.20.0070.04020.20
7.0.10.0070.04020.26
7.0.00.0030.04320.27
5.6.280.0000.07721.09
5.6.250.0100.06720.73
5.6.240.0000.09320.70
5.6.230.0070.07720.84
5.6.220.0070.04020.75
5.6.210.0100.05720.82
5.6.200.0100.05021.21
5.6.190.0070.09021.13
5.6.180.0070.08021.16
5.6.170.0070.05021.21
5.6.160.0030.04321.14
5.6.150.0030.04321.32
5.6.140.0030.04721.13
5.6.130.0100.04321.15
5.6.120.0070.04021.18
5.6.110.0070.04021.28
5.6.100.0030.04021.24
5.6.90.0070.04321.11
5.6.80.0130.07320.72
5.6.70.0000.04020.59
5.6.60.0070.04020.70
5.6.50.0000.04320.53
5.6.40.0070.03720.48
5.6.30.0130.02720.57
5.6.20.0070.03720.54
5.6.10.0000.04320.67
5.6.00.0030.04020.59
5.5.380.0200.04320.67
5.5.370.0030.05020.50
5.5.360.0070.04720.66
5.5.350.0070.04020.50
5.5.340.0030.09721.09
5.5.330.0200.05320.90
5.5.320.0100.04321.01
5.5.310.0100.06020.81
5.5.300.0130.05321.09
5.5.290.0130.03320.80
5.5.280.0030.04321.00
5.5.270.0070.04021.02
5.5.260.0100.08320.99
5.5.250.0000.06320.82
5.5.240.0130.04720.28
5.5.230.0000.04320.45
5.5.220.0070.03320.48
5.5.210.0070.03720.34
5.5.200.0070.03720.44
5.5.190.0070.03720.34
5.5.180.0000.05020.34
5.5.160.0070.03720.26
5.5.150.0100.03320.41
5.5.140.0030.04020.25
5.5.130.0070.03320.38
5.5.120.0130.03020.38
5.5.110.0030.04320.27
5.5.100.0000.04320.25
5.5.90.0070.03720.12
5.5.80.0070.03320.13
5.5.70.0030.04720.23
5.5.60.0030.04020.26
5.5.50.0000.04320.12
5.5.40.0100.03720.05
5.5.30.0000.04020.27
5.5.20.0000.03320.21
5.5.10.0000.04020.14
5.5.00.0000.03720.19
5.4.450.0070.03719.41
5.4.440.0070.03019.56
5.4.430.0000.05319.55
5.4.420.0030.07719.62
5.4.410.0100.07019.27
5.4.400.0070.03719.27
5.4.390.0070.04019.32
5.4.380.0070.03019.26
5.4.370.0000.04019.08
5.4.360.0100.03319.25
5.4.350.0000.04319.26
5.4.340.0000.04019.30
5.4.320.0000.06019.26
5.4.310.0130.03319.26
5.4.300.0000.04019.42
5.4.290.0100.05719.31
5.4.280.0070.03719.10
5.4.270.0100.04019.16
5.4.260.0070.03019.07
5.4.250.0070.04019.07
5.4.240.0000.04019.10
5.4.230.0070.03319.06
5.4.220.0000.04019.31
5.4.210.0030.03719.07
5.4.200.0170.02319.42
5.4.190.0070.03319.28
5.4.180.0130.02719.33
5.4.170.0000.03719.17
5.4.160.0100.02719.24
5.4.150.0070.06319.08
5.4.140.0030.03016.61
5.4.130.0100.06716.65
5.4.120.0100.06716.52
5.4.110.0030.07016.69
5.4.100.0030.07716.69
5.4.90.0130.06316.63
5.4.80.0030.08016.68
5.4.70.0070.07316.54
5.4.60.0070.07016.57
5.4.50.0070.06716.67
5.4.40.0130.06316.52
5.4.30.0100.06016.66
5.4.20.0030.06716.56
5.4.10.0000.04316.52
5.4.00.0200.06015.98
5.3.290.0030.04314.92
5.3.280.0100.03014.80
5.3.270.0070.03014.81
5.3.260.0100.03014.85
5.3.250.0030.03714.66
5.3.240.0070.08014.66
5.3.230.0030.05714.72
5.3.220.0030.07714.75
5.3.210.0070.07714.78
5.3.200.0000.08314.76
5.3.190.0070.07014.73
5.3.180.0030.08014.62
5.3.170.0000.07714.75
5.3.160.0200.06014.84
5.3.150.0070.07014.80
5.3.140.0100.06314.61
5.3.130.0070.08314.61
5.3.120.0070.03714.60
5.3.110.0100.07714.71
5.3.100.0030.07314.09
5.3.90.0030.08714.20
5.3.80.0130.05714.07
5.3.70.0100.06314.14
5.3.60.0070.07014.20
5.3.50.0130.06714.07
5.3.40.0200.06314.10
5.3.30.0070.06714.09
5.3.20.0070.04313.86
5.3.10.0070.07313.82
5.3.00.0100.06713.69
5.2.170.0100.04011.39
5.2.160.0070.04011.33
5.2.150.0070.06311.39
5.2.140.0030.04011.27
5.2.130.0000.03311.30
5.2.120.0030.05311.16
5.2.110.0000.06711.34
5.2.100.0070.05311.30
5.2.90.0030.06311.37
5.2.80.0100.03011.15
5.2.70.0070.05711.34
5.2.60.0070.05011.30
5.2.50.0100.05711.22
5.2.40.0070.05311.24
5.2.30.0000.04311.22
5.2.20.0000.06711.20
5.2.10.0130.05311.10
5.2.00.0000.07011.01
5.1.60.0000.03310.19
5.1.50.0030.05710.21
5.1.40.0100.04710.15
5.1.30.0070.04710.62
5.1.20.0070.05710.44
5.1.10.0070.03010.29
5.1.00.0000.03310.33
5.0.50.0100.0378.77
5.0.40.0030.0238.73
5.0.30.0000.0338.52
5.0.20.0030.0308.52
5.0.10.0030.0308.52
5.0.00.0000.0678.54
4.4.90.0100.0278.52
4.4.80.0000.0238.52
4.4.70.0070.0238.52
4.4.60.0030.0278.52
4.4.50.0030.0178.52
4.4.40.0000.0308.52
4.4.30.0000.0308.52
4.4.20.0000.0278.52
4.4.10.0070.0208.52
4.4.00.0000.0338.52
4.3.110.0000.0178.52
4.3.100.0030.0308.52
4.3.90.0000.0238.52
4.3.80.0000.0508.52
4.3.70.0000.0338.52
4.3.60.0000.0378.52
4.3.50.0000.0338.52
4.3.40.0000.0538.52
4.3.30.0000.0178.52
4.3.20.0000.0178.52
4.3.10.0000.0278.52
4.3.00.0030.0208.52

preferences:
40.85 ms | 400 KiB | 5 Q