3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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, $start) { echo 'Now: ', $programme->title, "<br>\n"; echo 'Cat: ', $programme->category, "<br>\n"; echo 'Desc: ', $programme->desc , "<br>\n"; echo 'Desc: ', $programme->start , "<br>\n"; echo 'Desc: ', $start, "<br>\n"; } ?>
Output for 5.3.0 - 5.4.21
Parse error: syntax error, unexpected ',', expecting ')' in /in/LXRJV on line 11
Process exited with code 255.