3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Include the library include('http://downloads.sourceforge.net/project/simplehtmldom/simple_html_dom.php?r=&ts=1404147938&use_mirror=superb-dca3'); // Retrieve the DOM from a given URL $html = file_get_html('http://davidwalsh.name/'); // Find all "A" tags and print their HREFs foreach($html->find('a') as $e) echo $e->href . '<br>';
Output for git.master, git.master_jit, rfc.property-hooks
Warning: include(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /in/F145G on line 3 Warning: include(http://downloads.sourceforge.net/project/simplehtmldom/simple_html_dom.php?r=&ts=1404147938&use_mirror=superb-dca3): Failed to open stream: no suitable wrapper could be found in /in/F145G on line 3 Warning: include(): Failed opening 'http://downloads.sourceforge.net/project/simplehtmldom/simple_html_dom.php?r=&ts=1404147938&use_mirror=superb-dca3' for inclusion (include_path='.:') in /in/F145G on line 3 Fatal error: Uncaught Error: Call to undefined function file_get_html() in /in/F145G:6 Stack trace: #0 {main} thrown in /in/F145G on line 6
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:
44.97 ms | 402 KiB | 8 Q