3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://three60research.clientcommunity.com.au/rss/newsletter/subitems"; $xml = new SimpleXMLElement($url, null, true); echo "Title - " . $xml->channel->title . "<br />"; foreach($xml->channel as $channel) { echo "Link - " . $channel->link . "<br />"; echo "Date - " . $channel->pubDate . "<br />"; echo "Description - " . $channel->item->description . "<br />"; echo "Guid - " . $channel->item->guid . "<br />"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 34
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 34
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
filename:       /in/LqZpH
function name:  (null)
number of ops:  36
compiled vars:  !0 = $url, !1 = $xml, !2 = $channel
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fthree60research.clientcommunity.com.au%2Frss%2Fnewsletter%2Fsubitems'
    3     1        NEW                                              $4      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              null
          4        SEND_VAL_EX                                              <true>
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $4
    5     7        FETCH_OBJ_R                                      ~7      !1, 'channel'
          8        FETCH_OBJ_R                                      ~8      ~7, 'title'
          9        CONCAT                                           ~9      'Title+-+', ~8
         10        CONCAT                                           ~10     ~9, '%3Cbr+%2F%3E'
         11        ECHO                                                     ~10
    7    12        FETCH_OBJ_R                                      ~11     !1, 'channel'
         13      > FE_RESET_R                                       $12     ~11, ->34
         14    > > FE_FETCH_R                                               $12, !2, ->34
    8    15    >   FETCH_OBJ_R                                      ~13     !2, 'link'
         16        CONCAT                                           ~14     'Link+-+', ~13
         17        CONCAT                                           ~15     ~14, '%3Cbr+%2F%3E'
         18        ECHO                                                     ~15
    9    19        FETCH_OBJ_R                                      ~16     !2, 'pubDate'
         20        CONCAT                                           ~17     'Date+-+', ~16
         21        CONCAT                                           ~18     ~17, '%3Cbr+%2F%3E'
         22        ECHO                                                     ~18
   10    23        FETCH_OBJ_R                                      ~19     !2, 'item'
         24        FETCH_OBJ_R                                      ~20     ~19, 'description'
         25        CONCAT                                           ~21     'Description+-+', ~20
         26        CONCAT                                           ~22     ~21, '%3Cbr+%2F%3E'
         27        ECHO                                                     ~22
   11    28        FETCH_OBJ_R                                      ~23     !2, 'item'
         29        FETCH_OBJ_R                                      ~24     ~23, 'guid'
         30        CONCAT                                           ~25     'Guid+-+', ~24
         31        CONCAT                                           ~26     ~25, '%3Cbr+%2F%3E'
         32        ECHO                                                     ~26
    7    33      > JMP                                                      ->14
         34    >   FE_FREE                                                  $12
   13    35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.95 ms | 1395 KiB | 13 Q