3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://apps.tirol.gv.at/lwd/produkte/llb/2014-2015/2015-05-01_0730/2015-05-01_0730_avalanche_bulletin_tyrol_de.xml"; //disabled for security reasons // if(file_exists($url)){ // $xmlFile = simple_load_file($url); // loadToDatabase($xmlFile); // } else { // exit("Coudn't find xml file"); // } $xmlFile = simplexml_load_file($url); loadToDatabase($xmlFile); function loadToDatabase($file){ print_r($file); } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo for apps.tirol.gv.at failed: System error in /in/eGKr1 on line 13 Warning: simplexml_load_file(http://apps.tirol.gv.at/lwd/produkte/llb/2014-2015/2015-05-01_0730/2015-05-01_0730_avalanche_bulletin_tyrol_de.xml): Failed to open stream: php_network_getaddresses: getaddrinfo for apps.tirol.gv.at failed: System error in /in/eGKr1 on line 13 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://apps.tirol.gv.at/lwd/produkte/llb/2014-2015/2015-05-01_0730/2015-05-01_0730_avalanche_bulletin_tyrol_de.xml" in /in/eGKr1 on line 13

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:
43.54 ms | 402 KiB | 8 Q