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"; echo 'Desc: ', $programme->start , "<br>\n"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 31
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 31
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
filename:       /in/OFZfY
function name:  (null)
number of ops:  33
compiled vars:  !0 = $url, !1 = $xml, !2 = $programme
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Ftvprofil.net%2Fxmltv%2Fdata%2Fcnn.info%2Fweekly_cnn.info_tvprofil.net.xml'
    5     1        INIT_FCALL                                               'simplexml_load_file'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    6     5        BOOL_NOT                                         ~6      !1
          6      > JMPZ                                                     ~6, ->12
    7     7    >   INIT_FCALL                                               'trigger_error'
          8        SEND_VAL                                                 'Program+bilgisine+%C5%9Fu+an+i%C3%A7in+eri%C5%9Filemiyor.'
          9        SEND_VAL                                                 256
         10        DO_ICALL                                                 
    8    11      > RETURN                                                   null
   11    12    > > FE_RESET_R                                       $8      !1, ->31
         13    > > FE_FETCH_R                                               $8, !2, ->31
   12    14    >   ECHO                                                     'Now%3A+'
         15        FETCH_OBJ_R                                      ~9      !2, 'title'
         16        ECHO                                                     ~9
         17        ECHO                                                     '%3Cbr%3E%0A'
   13    18        ECHO                                                     'Cat%3A+'
         19        FETCH_OBJ_R                                      ~10     !2, 'category'
         20        ECHO                                                     ~10
         21        ECHO                                                     '%3Cbr%3E%0A'
   14    22        ECHO                                                     'Desc%3A+'
         23        FETCH_OBJ_R                                      ~11     !2, 'desc'
         24        ECHO                                                     ~11
         25        ECHO                                                     '%3Cbr%3E%0A'
   15    26        ECHO                                                     'Desc%3A+'
         27        FETCH_OBJ_R                                      ~12     !2, 'start'
         28        ECHO                                                     ~12
         29        ECHO                                                     '%3Cbr%3E%0A'
   11    30      > JMP                                                      ->13
         31    >   FE_FREE                                                  $8
   16    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.55 ms | 1396 KiB | 17 Q