3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "http://clerk.house.gov/floorsummary/HDoc-114-1-FloorProceedings.xml"; $xml = simplexml_load_file($url) 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 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 38
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 38
Branch analysis from position: 11
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 36
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 36
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 34
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 34
Branch analysis from position: 17
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 34
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 34
Branch analysis from position: 36
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 36
Branch analysis from position: 38
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 38
filename:       /in/F2nls
function name:  (null)
number of ops:  40
compiled vars:  !0 = $url, !1 = $xml, !2 = $la, !3 = $af, !4 = $fa, !5 = $ai, !6 = $ud, !7 = $uid, !8 = $atf, !9 = $atfs, !10 = $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                                               'simplexml_load_file'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $12     
          4        ASSIGN                                           ~13     !1, $12
          5      > JMPNZ_EX                                         ~13     ~13, ->8
          6    > > EXIT                                                     'some+shit+broke'
          7*       BOOL                                             ~13     <true>
    5     8    >   FETCH_OBJ_R                                      ~14     !1, 'legislative_activity'
          9      > FE_RESET_R                                       $15     ~14, ->38
         10    > > FE_FETCH_R                                               $15, !2, ->38
    6    11    >   FETCH_OBJ_R                                      ~16     !2, 'floor_actions'
         12      > FE_RESET_R                                       $17     ~16, ->36
         13    > > FE_FETCH_R                                               $17, !3, ->36
    7    14    >   FETCH_OBJ_R                                      ~18     !3, 'floor_action'
         15      > FE_RESET_R                                       $19     ~18, ->34
         16    > > FE_FETCH_R                                               $19, !4, ->34
    8    17    >   FETCH_DIM_R                                      ~20     !4, 'act-id'
         18        ASSIGN                                                   !5, ~20
    9    19        FETCH_DIM_R                                      ~22     !4, 'update-date-time'
         20        ASSIGN                                                   !6, ~22
   10    21        FETCH_DIM_R                                      ~24     !4, 'unique-id'
         22        ASSIGN                                                   !7, ~24
   11    23        FETCH_OBJ_R                                      ~26     !4, 'action_time'
         24        ASSIGN                                                   !8, ~26
   12    25        FETCH_DIM_R                                      ~28     !8, 'for-search'
         26        ASSIGN                                                   !9, ~28
   13    27        FETCH_OBJ_R                                      ~30     !4, 'action_item'
         28        ASSIGN                                                   !10, ~30
   15    29        INIT_FCALL                                               'var_dump'
         30        SEND_VAR                                                 !4
         31        DO_ICALL                                                 
   16    32      > EXIT                                                     
    7    33*       JMP                                                      ->16
         34    >   FE_FREE                                                  $19
    6    35      > JMP                                                      ->13
         36    >   FE_FREE                                                  $17
    5    37      > JMP                                                      ->10
         38    >   FE_FREE                                                  $15
   19    39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.3 ms | 1400 KiB | 17 Q