3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = <<<EOF <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->loadHTML($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.0070.01119.04
8.3.30.0120.00920.53
8.3.20.0080.00019.02
8.3.10.0040.00421.24
8.3.00.0000.00820.04
8.2.170.0070.01022.96
8.2.160.0060.01320.77
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.27
8.2.110.0070.00719.69
8.2.100.0090.00318.03
8.2.90.0000.00719.65
8.2.80.0000.00719.66
8.2.70.0040.00417.88
8.2.60.0050.00318.29
8.2.50.0030.00518.07
8.2.40.0040.00420.32
8.2.30.0030.00719.80
8.2.20.0000.00817.96
8.2.10.0040.00417.94
8.2.00.0050.00318.00
8.1.270.0070.00023.99
8.1.260.0130.00326.35
8.1.250.0030.00528.09
8.1.240.0130.00020.85
8.1.230.0130.00021.25
8.1.220.0000.00818.77
8.1.210.0040.00419.12
8.1.200.0030.00617.47
8.1.190.0030.00617.66
8.1.180.0000.00818.10
8.1.170.0030.00519.02
8.1.160.0020.00519.20
8.1.150.0040.00419.00
8.1.140.0020.00517.71
8.1.130.0000.00719.45
8.1.120.0040.00417.66
8.1.110.0040.00417.62
8.1.100.0000.00817.57
8.1.90.0000.00717.78
8.1.80.0030.00417.61
8.1.70.0050.00317.79
8.1.60.0060.00617.82
8.1.50.0000.00817.76
8.1.40.0040.00417.86
8.1.30.0050.00217.95
8.1.20.0000.00917.77
8.1.10.0000.00717.91
8.1.00.0090.00017.80
8.0.300.0030.00619.97
8.0.290.0000.00717.30
8.0.280.0000.00818.73
8.0.270.0070.00017.49
8.0.260.0030.00317.25
8.0.250.0030.00517.33
8.0.240.0030.00517.20
8.0.230.0030.00317.23
8.0.220.0030.00317.25
8.0.210.0030.00317.16
8.0.200.0000.00717.32
8.0.190.0000.00717.15
8.0.180.0040.00417.18
8.0.170.0040.00417.15
8.0.160.0000.00717.05
8.0.150.0020.00517.21
8.0.140.0040.00417.15
8.0.130.0060.00313.66
8.0.120.0040.00417.22
8.0.110.0000.00817.18
8.0.100.0070.00017.30
8.0.90.0040.00417.08
8.0.80.0050.01017.14
8.0.70.0030.00517.09
8.0.60.0030.00617.25
8.0.50.0000.00717.38
8.0.30.0100.01117.35
8.0.20.0070.01117.47
8.0.10.0040.00417.27
8.0.00.0110.00716.89
7.4.330.0060.00016.93
7.4.320.0040.00416.79
7.4.300.0060.00316.90
7.4.290.0030.00316.89
7.4.280.0000.00716.77
7.4.270.0070.00016.91
7.4.260.0030.00313.61
7.4.250.0000.00716.71
7.4.240.0040.00416.89
7.4.230.0000.00716.67
7.4.220.0060.01216.70
7.4.210.0090.00816.91
7.4.200.0030.00316.89
7.4.190.0070.00016.87
7.4.160.0150.00616.65
7.4.150.0120.00617.40
7.4.140.0140.00417.86
7.4.130.0090.00816.73
7.4.120.0090.01016.73
7.4.110.0040.01516.91
7.4.100.0040.01416.84
7.4.90.0000.01816.73
7.4.80.0130.00719.39
7.4.70.0090.00916.71
7.4.60.0090.00916.74
7.4.50.0030.00616.80
7.4.40.0060.00622.77
7.4.30.0030.01416.82
7.4.00.0090.00615.18
7.3.330.0070.00013.38
7.3.320.0000.00513.24
7.3.310.0000.00716.67
7.3.300.0000.00716.55
7.3.290.0080.00616.56
7.3.280.0070.00916.54
7.3.270.0090.00917.40
7.3.260.0070.01118.24
7.3.250.0090.00816.54
7.3.240.0100.00616.50
7.3.230.0080.00816.46
7.3.210.0100.00716.64
7.3.200.0130.00619.39
7.3.190.0150.00316.54
7.3.180.0160.00616.53
7.3.170.0060.01016.64
7.3.160.0180.00016.85
7.3.120.0000.01414.71
7.2.330.0070.01016.91
7.2.320.0130.00416.89
7.2.310.0000.01816.89
7.2.300.0060.01116.77
7.2.290.0110.00616.88
7.1.70.0000.00717.27
7.1.60.0100.00717.00
7.1.50.0040.00816.80
7.1.40.0000.01116.67
7.1.30.0060.01016.72
7.1.20.0030.01016.87
7.1.10.0000.00916.65
7.1.00.0000.00816.80
7.0.200.0040.00416.84
7.0.190.0070.00316.97
7.0.180.0000.00816.30
7.0.170.0050.00516.48
7.0.160.0030.01216.37
7.0.150.0000.00816.33
7.0.140.0000.00716.46
7.0.130.0040.00416.62
7.0.120.0000.00716.48
7.0.110.0040.00416.50
7.0.100.0040.00416.65
7.0.90.0000.01116.46
7.0.80.0000.01216.41
7.0.70.0030.00616.53
7.0.60.0040.00416.29
7.0.50.0030.00616.59
7.0.40.0040.00414.97
7.0.30.0000.01114.97
7.0.20.0100.00014.97
7.0.10.0000.00714.97
7.0.00.0040.00714.97
5.6.300.0030.04420.78
5.6.290.0030.04820.97
5.6.280.0000.04721.10
5.6.270.0000.04521.03
5.6.260.0070.08720.92
5.6.250.0000.05420.85
5.6.240.0070.04620.93
5.6.230.0030.04920.91
5.6.220.0030.05020.89
5.6.210.0000.04821.12
5.6.200.0100.05620.98
5.6.190.0030.06620.88
5.6.180.0030.04420.93
5.6.170.0100.05120.91
5.6.160.0000.04221.14
5.6.150.0000.05121.09
5.6.140.0070.07521.15
5.6.130.0070.08220.87
5.6.120.0100.03920.95
5.6.110.0070.04221.00
5.6.100.0070.07221.08
5.6.90.0030.04320.97
5.6.80.0030.04020.31
5.6.70.0030.03820.24
5.6.60.0070.06020.41
5.6.50.0030.03720.37
5.6.40.0000.04120.52
5.6.30.0030.05020.33
5.6.20.0030.05420.29
5.6.10.0000.04620.48
5.6.00.0040.03920.43
5.5.380.0090.03517.58
5.5.370.0120.04217.51
5.5.360.0100.03717.64
5.5.350.0030.04517.64
5.5.340.0000.05818.07
5.5.330.0070.03717.85
5.5.320.0090.03718.08
5.5.310.0030.05418.13
5.5.300.0030.05017.97
5.5.290.0040.06717.84
5.5.280.0060.04217.84
5.5.270.0040.05318.16
5.5.260.0030.04318.25
5.5.250.0030.07517.98
5.5.240.0030.05017.56
5.5.230.0130.05417.56
5.5.220.0040.07417.49
5.5.210.0030.04017.47
5.5.200.0000.06017.51
5.5.190.0040.04217.43
5.5.180.0060.03717.61
5.5.160.0070.04217.34
5.5.150.0000.04617.55
5.5.140.0070.04017.52
5.5.130.0000.04817.50
5.5.120.0000.04017.29
5.5.110.0030.04417.60
5.5.100.0030.04317.23
5.5.90.0030.04017.39
5.5.80.0000.04417.43
5.5.70.0070.03717.35
5.5.60.0040.03717.41
5.5.50.0040.04017.32
5.5.40.0040.04217.45
5.5.30.0100.06617.43
5.5.20.0060.03817.31
5.5.10.0030.04117.16
5.5.00.0030.07717.38
5.4.450.0110.04719.49
5.4.440.0030.04019.29
5.4.430.0030.04919.50
5.4.420.0130.06419.54
5.4.410.0030.06519.32
5.4.400.0000.04619.21
5.4.390.0060.06019.28
5.4.380.0030.04219.19
5.4.370.0070.03919.19
5.4.360.0030.04219.19
5.4.350.0030.04319.28
5.4.340.0030.04119.20
5.4.320.0030.04419.06
5.4.310.0000.04019.28
5.4.300.0030.03819.12
5.4.290.0070.04619.21
5.4.280.0000.04319.21
5.4.270.0090.03019.05
5.4.260.0070.03718.96
5.4.250.0030.06819.24
5.4.240.0030.03819.05
5.4.230.0070.03618.96
5.4.220.0030.04219.23
5.4.210.0000.04619.12
5.4.200.0030.03819.21
5.4.190.0060.05419.18
5.4.180.0090.03419.05
5.4.170.0030.04118.95
5.4.160.0030.07719.07
5.4.150.0090.03819.16
5.4.140.0060.04116.95
5.4.130.0070.07016.82
5.4.120.0030.04816.58
5.4.110.0030.03516.82
5.4.100.0060.03216.74
5.4.90.0060.03616.77
5.4.80.0030.05616.69
5.4.70.0030.03816.73
5.4.60.0130.06816.54
5.4.50.0030.04716.56
5.4.40.0030.03516.75
5.4.30.0030.03416.52
5.4.20.0000.04916.68
5.4.10.0100.04916.53
5.4.00.0030.04416.29
5.3.290.0030.04214.97
5.3.280.0030.04114.97
5.3.270.0000.04214.97
5.3.260.0070.04214.97
5.3.250.0030.04014.97
5.3.240.0000.03914.97
5.3.230.0040.03914.97
5.3.220.0060.03714.97
5.3.210.0030.03614.97
5.3.200.0030.04114.97
5.3.190.0040.04614.97
5.3.180.0070.05514.97
5.3.170.0000.04114.97
5.3.160.0060.03814.97
5.3.150.0000.04314.97
5.3.140.0060.03514.97
5.3.130.0100.06414.97
5.3.120.0000.04414.97
5.3.110.0040.03914.97
5.3.100.0030.04014.97
5.3.90.0030.05814.97
5.3.80.0000.04414.97
5.3.70.0040.04014.97
5.3.60.0030.06414.97
5.3.50.0000.03814.97
5.3.40.0060.03214.97
5.3.30.0070.03314.97
5.3.20.0000.04614.97
5.3.10.0030.06214.97
5.3.00.0030.03614.97
5.2.170.0030.03914.97
5.2.160.0030.03014.97
5.2.150.0230.02614.97
5.2.140.0040.05414.97
5.2.130.0040.03914.97
5.2.120.0000.03214.97
5.2.110.0060.02614.97
5.2.100.0030.02914.97
5.2.90.0000.03214.97
5.2.80.0000.03414.97
5.2.70.0070.02614.97
5.2.60.0000.03514.97
5.2.50.0030.03114.97
5.2.40.0030.02714.97
5.2.30.0000.04314.97
5.2.20.0030.02814.97
5.2.10.0000.03014.97
5.2.00.0030.03514.97
5.1.60.0030.05214.97
5.1.50.0000.03014.97
5.1.40.0000.05814.97
5.1.30.0000.04314.97
5.1.20.0080.02014.97
5.1.10.0030.02314.97
5.1.00.0030.04914.97
5.0.50.0000.03114.97
5.0.40.0000.02414.97
5.0.30.0000.03214.97
5.0.20.0060.01614.97
5.0.10.0060.01814.97
5.0.00.0000.03314.97
4.4.90.0000.01814.97
4.4.80.0000.01814.97
4.4.70.0040.01414.97
4.4.60.0030.01414.97
4.4.50.0030.01714.97
4.4.40.0000.04514.97
4.4.30.0030.03414.97
4.4.20.0030.01314.97
4.4.10.0060.02214.97
4.4.00.0030.02714.97
4.3.110.0040.01414.97
4.3.100.0040.01814.97
4.3.90.0000.02114.97
4.3.80.0060.02114.97
4.3.70.0030.01314.97
4.3.60.0030.01514.97
4.3.50.0070.03014.97
4.3.40.0000.02414.97
4.3.30.0070.02514.97
4.3.20.0060.01314.97
4.3.10.0070.02614.97
4.3.00.0000.02314.97

preferences:
34.67 ms | 400 KiB | 5 Q