3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $feed = "http://www.insomnia.gr/rss/forums/41-%CE%B4%CE%B5%CE%BB%CF%84%CE%AF%CE%B1-%CF%84%CF%8D%CF%80%CE%BF%CF%85.xml"; $feed_to_array = (array) simplexml_load_file($feed); print_r($feed_to_array);
Output for 7.0.20, 7.1.5 - 7.2.0
Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo failed: System error in /in/fkLik on line 5 Warning: simplexml_load_file(http://www.insomnia.gr/rss/forums/41-%CE%B4%CE%B5%CE%BB%CF%84%CE%AF%CE%B1-%CF%84%CF%8D%CF%80%CE%BF%CF%85.xml): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/fkLik on line 5 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://www.insomnia.gr/rss/forums/41-%CE%B4%CE%B5%CE%BB%CF%84%CE%AF%CE%B1-%CF%84%CF%8D%CF%80%CE%BF%CF%85.xml" in /in/fkLik on line 5 Array ( [0] => )
Output for 5.4.0 - 7.0.10, 7.1.0
Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/fkLik on line 5 Warning: simplexml_load_file(http://www.insomnia.gr/rss/forums/41-%CE%B4%CE%B5%CE%BB%CF%84%CE%AF%CE%B1-%CF%84%CF%8D%CF%80%CE%BF%CF%85.xml): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/fkLik on line 5 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://www.insomnia.gr/rss/forums/41-%CE%B4%CE%B5%CE%BB%CF%84%CE%AF%CE%B1-%CF%84%CF%8D%CF%80%CE%BF%CF%85.xml" in /in/fkLik on line 5 Array ( [0] => )