3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument; $doc->loadHTMLFile( 'http://www.wealth.anz.com/insurance'); $xpath = new DOMXpath( $doc); foreach( $xpath->query( '/div[@id="subnav"]/ul/li') as $li) { echo $li->nodeName . "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: DOMDocument::loadHTMLFile(): php_network_getaddresses: getaddrinfo for www.wealth.anz.com failed: System error in /in/IsB0b on line 4 Warning: DOMDocument::loadHTMLFile(http://www.wealth.anz.com/insurance): Failed to open stream: php_network_getaddresses: getaddrinfo for www.wealth.anz.com failed: System error in /in/IsB0b on line 4 Warning: DOMDocument::loadHTMLFile(): I/O warning : failed to load external entity "http://www.wealth.anz.com/insurance" in /in/IsB0b on line 4

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:
37.89 ms | 402 KiB | 8 Q