3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dom = new DOMDocument(); $dom->loadHTMLFile("http://blog.mapler.me/rss"); $xpath = new DOMXPath($dom); var_dump($xpath->query("//a[starts-with(@href, '/newsroom/airports/')]")->length);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: DOMDocument::loadHTMLFile(): php_network_getaddresses: getaddrinfo for blog.mapler.me failed: System error in /in/DEXSs on line 4 Warning: DOMDocument::loadHTMLFile(http://blog.mapler.me/rss): Failed to open stream: php_network_getaddresses: getaddrinfo for blog.mapler.me failed: System error in /in/DEXSs on line 4 Warning: DOMDocument::loadHTMLFile(): I/O warning : failed to load external entity "http://blog.mapler.me/rss" in /in/DEXSs on line 4 int(0)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
40.51 ms | 402 KiB | 8 Q