3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://tvprofil.net/xmltv/data/cnn.info/weekly_cnn.info_tvprofil.net.xml'; $xml = simplexml_load_file($url); if (!$xml) { trigger_error('Program bilgisine şu an için erişilemiyor.',E_USER_ERROR); return; } foreach ($xml as $programme) { echo 'Now: ', $programme->title, "<br>\n"; echo 'Cat: ', $programme->category, "<br>\n"; echo 'Desc: ', $programme->desc , "<br>\n"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: simplexml_load_file(): php_network_getaddresses: getaddrinfo for tvprofil.net failed: System error in /in/Hfum3 on line 5 Warning: simplexml_load_file(http://tvprofil.net/xmltv/data/cnn.info/weekly_cnn.info_tvprofil.net.xml): Failed to open stream: php_network_getaddresses: getaddrinfo for tvprofil.net failed: System error in /in/Hfum3 on line 5 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://tvprofil.net/xmltv/data/cnn.info/weekly_cnn.info_tvprofil.net.xml" in /in/Hfum3 on line 5 Fatal error: Program bilgisine şu an için erişilemiyor. in /in/Hfum3 on line 7
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:
59.82 ms | 401 KiB | 8 Q