3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://clerk.house.gov/floorsummary/HDoc-114-1-FloorProceedings.xml"; $data = file_get_contents($url); $xml = simplexml_load_string($data) or die("some shit broke"); foreach ($xml->legislative_activity as $la){ foreach ($la->floor_actions as $af) { foreach ($af->floor_action as $fa ) { $ai = $fa['act-id']; $ud = $fa['update-date-time']; $uid = $fa['unique-id']; $atf = $fa->action_time; $atfs = $atf['for-search']; $acti = $fa->action_item; var_dump($fa); die(); } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 42
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 42
Branch analysis from position: 15
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 40
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 40
Branch analysis from position: 18
2 jumps found. (Code = 77) Position 1 = 20, Position 2 = 38
Branch analysis from position: 20
2 jumps found. (Code = 78) Position 1 = 21, Position 2 = 38
Branch analysis from position: 21
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 38
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 38
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 40
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
filename:       /in/0HcX4
function name:  (null)
number of ops:  44
compiled vars:  !0 = $url, !1 = $data, !2 = $xml, !3 = $la, !4 = $af, !5 = $fa, !6 = $ai, !7 = $ud, !8 = $uid, !9 = $atf, !10 = $atfs, !11 = $acti
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fclerk.house.gov%2Ffloorsummary%2FHDoc-114-1-FloorProceedings.xml'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $13     
          4        ASSIGN                                                   !1, $13
    5     5        INIT_FCALL                                               'simplexml_load_string'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $15     
          8        ASSIGN                                           ~16     !2, $15
          9      > JMPNZ_EX                                         ~16     ~16, ->12
         10    > > EXIT                                                     'some+shit+broke'
         11*       BOOL                                             ~16     <true>
    6    12    >   FETCH_OBJ_R                                      ~17     !2, 'legislative_activity'
         13      > FE_RESET_R                                       $18     ~17, ->42
         14    > > FE_FETCH_R                                               $18, !3, ->42
    7    15    >   FETCH_OBJ_R                                      ~19     !3, 'floor_actions'
         16      > FE_RESET_R                                       $20     ~19, ->40
         17    > > FE_FETCH_R                                               $20, !4, ->40
    8    18    >   FETCH_OBJ_R                                      ~21     !4, 'floor_action'
         19      > FE_RESET_R                                       $22     ~21, ->38
         20    > > FE_FETCH_R                                               $22, !5, ->38
    9    21    >   FETCH_DIM_R                                      ~23     !5, 'act-id'
         22        ASSIGN                                                   !6, ~23
   10    23        FETCH_DIM_R                                      ~25     !5, 'update-date-time'
         24        ASSIGN                                                   !7, ~25
   11    25        FETCH_DIM_R                                      ~27     !5, 'unique-id'
         26        ASSIGN                                                   !8, ~27
   12    27        FETCH_OBJ_R                                      ~29     !5, 'action_time'
         28        ASSIGN                                                   !9, ~29
   13    29        FETCH_DIM_R                                      ~31     !9, 'for-search'
         30        ASSIGN                                                   !10, ~31
   14    31        FETCH_OBJ_R                                      ~33     !5, 'action_item'
         32        ASSIGN                                                   !11, ~33
   16    33        INIT_FCALL                                               'var_dump'
         34        SEND_VAR                                                 !5
         35        DO_ICALL                                                 
   17    36      > EXIT                                                     
    8    37*       JMP                                                      ->20
         38    >   FE_FREE                                                  $22
    7    39      > JMP                                                      ->17
         40    >   FE_FREE                                                  $20
    6    41      > JMP                                                      ->14
         42    >   FE_FREE                                                  $18
   20    43      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.54 ms | 1400 KiB | 19 Q