3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "<a href='http://demowww.wavebid.com/content/openPdfFile.html?id=7828114'> <img src=\"http://www.wavebid.com/images/icons/pdf-128x128.jpg\" style=\"height: 25px\"/>IPv4_Multicast.pdf</a> <br /> <a href='http://demowww.wavebid.com/content/openPdfFile.html?id=7828115'> <img src=\"http://www.wavebid.com/images/icons/pdf-128x128.jpg\" style=\"height: 25px\"/>IPv6.pdf</a><br />"; $dom = new DOMDocument; $dom->loadHTML($foo); $links = $dom->getElementsByTagName('a'); var_dump($$links);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Object of class DOMNodeList could not be converted to string in /in/4OksA:11 Stack trace: #0 {main} thrown in /in/4OksA on line 11
Process exited with code 255.

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:
56.42 ms | 401 KiB | 8 Q