3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new DOMDocument(); $doc->loadHTML(file_get_contents('http://wol.jw.org/cs/wol/dt/r29/lp-b/2016/1/5')); $excercise = $doc->getElementById('p15'); echo $excercise->textContent;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for wol.jw.org failed: System error in /in/0EmAJ on line 3 Warning: file_get_contents(http://wol.jw.org/cs/wol/dt/r29/lp-b/2016/1/5): Failed to open stream: php_network_getaddresses: getaddrinfo for wol.jw.org failed: System error in /in/0EmAJ on line 3 Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /in/0EmAJ:3 Stack trace: #0 /in/0EmAJ(3): DOMDocument->loadHTML('') #1 {main} thrown in /in/0EmAJ on line 3
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:
58.34 ms | 402 KiB | 8 Q