3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_file("http://www.vytautus.com/hor_rss.xml"); $horoscopes = array(); foreach ($xml->channel->item as $item) { $horoscopes[$item->title] = $item->description; } print_r($horoscopes); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/aZYS5
function name:  (null)
number of ops:  19
compiled vars:  !0 = $xml, !1 = $horoscopes, !2 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'simplexml_load_file'
          1        SEND_VAL                                                 'http%3A%2F%2Fwww.vytautus.com%2Fhor_rss.xml'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    5     4        ASSIGN                                                   !1, <array>
    6     5        FETCH_OBJ_R                                      ~6      !0, 'channel'
          6        FETCH_OBJ_R                                      ~7      ~6, 'item'
          7      > FE_RESET_R                                       $8      ~7, ->14
          8    > > FE_FETCH_R                                               $8, !2, ->14
    7     9    >   FETCH_OBJ_R                                      ~9      !2, 'title'
         10        FETCH_OBJ_R                                      ~11     !2, 'description'
         11        ASSIGN_DIM                                               !1, ~9
         12        OP_DATA                                                  ~11
    6    13      > JMP                                                      ->8
         14    >   FE_FREE                                                  $8
   10    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
   11    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.06 ms | 1395 KiB | 17 Q