3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $xmlDoc = new DOMDocument(); $xmlDoc->load('http://acsrochester.org/feed');
Output for 5.2.6 - 7.1.0
Warning: DOMDocument::load(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/ddUr7 on line 3 Warning: DOMDocument::load(http://acsrochester.org/feed): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/ddUr7 on line 3 Warning: DOMDocument::load(): I/O warning : failed to load external entity "http://acsrochester.org/feed" in /in/ddUr7 on line 3
Output for 5.1.0 - 5.2.5
Warning: DOMDocument::load(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/ddUr7 on line 3 Warning: DOMDocument::load(http://acsrochester.org/feed): failed to open stream: Connection refused in /in/ddUr7 on line 3 Warning: DOMDocument::load(): I/O warning : failed to load external entity "http://acsrochester.org/feed" in /in/ddUr7 on line 3
Output for 5.0.3 - 5.0.5
Warning: DOMDocument::load(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/ddUr7 on line 3 Warning: DOMDocument::load(http://acsrochester.org/feed): failed to open stream: Connection refused in /in/ddUr7 on line 3 Warning: connection refusedI/O warning : failed to load external entity "http://acsrochester.org/feed" in /in/ddUr7 on line 3
Output for 5.0.1 - 5.0.2
Warning: DOMDocument::load(): php_network_getaddresses: gethostbyname failed in /in/ddUr7 on line 3 Warning: DOMDocument::load(http://acsrochester.org/feed): failed to open stream: Success in /in/ddUr7 on line 3 Warning: connection refusedI/O warning : failed to load external entity "http://acsrochester.org/feed" in /in/ddUr7 on line 3
Output for 5.0.0
Warning: DOMDocument::load(): php_network_getaddresses: gethostbyname failed in /in/ddUr7 on line 3 Warning: DOMDocument::load(http://acsrochester.org/feed): failed to open stream: Bad file descriptor in /in/ddUr7 on line 3 Warning: connection refusedI/O warning : failed to load external entity "http://acsrochester.org/feed" in /in/ddUr7 on line 3
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: domdocument in /in/ddUr7 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: domdocument in /in/ddUr7 on line 2