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->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)
5.4.210.0060.03612.39
5.4.200.0100.04312.38
5.4.190.0200.06212.37
5.4.180.0120.03812.37
5.4.170.0120.03812.38
5.4.160.0100.04012.38
5.4.150.0100.04112.37
5.4.140.0090.04212.06
5.4.130.0120.03912.04
5.4.120.0100.03912.01
5.4.110.0050.04512.01
5.4.100.0110.03812.01
5.4.90.0110.04012.00
5.4.80.0190.06312.01
5.4.70.0120.03612.00
5.4.60.0120.03712.00
5.4.50.0130.03612.00
5.4.40.0090.04011.99
5.4.30.0120.04611.99
5.4.20.0190.04311.98
5.4.10.0110.03911.99
5.4.00.0110.03911.48
5.3.270.0120.04112.72
5.3.260.0120.03912.72
5.3.250.0210.05912.72
5.3.240.0090.04312.72
5.3.230.0100.04212.71
5.3.220.0170.05012.68
5.3.210.0130.04112.68
5.3.200.0100.04212.68
5.3.190.0130.04012.68
5.3.180.0090.04512.67
5.3.170.0100.04212.67
5.3.160.0130.03912.67
5.3.150.0140.04712.67
5.3.140.0210.06112.66
5.3.130.0130.04012.66
5.3.120.0110.04212.66
5.3.110.0120.04312.66
5.3.100.0100.04312.12
5.3.90.0120.04112.08
5.3.80.0180.06512.08
5.3.70.0120.04212.08
5.3.60.0140.03712.06
5.3.50.0110.04212.00
5.3.40.0130.04212.00
5.3.30.0130.03911.94
5.3.20.0190.06811.72
5.3.10.0120.03811.69
5.3.00.0120.03911.67

preferences:
131.69 ms | 1394 KiB | 7 Q