3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/stkJ9
function name:  (null)
number of ops:  9
compiled vars:  !0 = $xmlstr, !1 = $sxi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cza-lord%3E%0A++++%3Corderid%3Edresden1234%3C%2Forderid%3E%0A++++%3Ccustomer%3Etoot-toot%3C%2Fcustomer%3E%0A++++%3Cpizza%3E%0A++++++++%3Csauce%3Emarinara%3C%2Fsauce%3E%0A++++++++%3Ccrust%3Ethin%3C%2Fcrust%3E%0A++++++++%3Ctoppings%3E%0A++++++++++++%3Ccheese%3Eextra%3C%2Fcheese%3E%0A++++++++++++%3Cveg%3E%0A++++++++++++++++%3Conions%3Eyes%3C%2Fonions%3E%0A++++++++++++++++%3Cpeppers%3Eextra%3C%2Fpeppers%3E%0A++++++++++++++++%3Colives%3Eno%3C%2Folives%3E%0A++++++++++++%3C%2Fveg%3E%0A++++++++++++%3Cmeat%3E%0A++++++++++++++++%3Cgroundbeef%3Eyes%3C%2Fgroundbeef%3E%0A++++++++++++++++%3Cham%3Eno%3C%2Fham%3E%0A++++++++++++++++%3Csausage%3Eno%3C%2Fsausage%3E%0A++++++++++++%3C%2Fmeat%3E%0A++++++++%3C%2Ftoppings%3E%0A++++%3C%2Fpizza%3E%0A%3C%2Fza-lord%3E++'
   34     1        NEW                                              $3      'SimpleXMLIterator'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
   35     5        INIT_FCALL                                               'list_nodes'
          6        SEND_VAR                                                 !1
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Function list_nodes:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 4
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 4
Branch analysis from position: 26
Branch analysis from position: 4
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 4
Branch analysis from position: 26
Branch analysis from position: 4
filename:       /in/stkJ9
function name:  list_nodes
number of ops:  27
compiled vars:  !0 = $sxi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
   25     1        INIT_METHOD_CALL                                         !0, 'rewind'
          2        DO_FCALL                                      0          
          3      > JMP                                                      ->23
   26     4    >   INIT_METHOD_CALL                                         !0, 'hasChildren'
          5        DO_FCALL                                      0  $2      
          6      > JMPZ                                                     $2, ->13
   27     7    >   INIT_FCALL_BY_NAME                                       'list_nodes'
          8        INIT_METHOD_CALL                                         !0, 'current'
          9        DO_FCALL                                      0  $3      
         10        SEND_VAR_NO_REF_EX                                       $3
         11        DO_FCALL                                      0          
   26    12      > JMP                                                      ->21
   30    13    >   INIT_METHOD_CALL                                         !0, 'key'
         14        DO_FCALL                                      0  $5      
         15        CONCAT                                           ~6      $5, '+%3D+'
         16        INIT_METHOD_CALL                                         !0, 'current'
         17        DO_FCALL                                      0  $7      
         18        CONCAT                                           ~8      ~6, $7
         19        CONCAT                                           ~9      ~8, '%0A'
         20        ECHO                                                     ~9
   25    21    >   INIT_METHOD_CALL                                         !0, 'next'
         22        DO_FCALL                                      0          
         23    >   INIT_METHOD_CALL                                         !0, 'valid'
         24        DO_FCALL                                      0  $11     
         25      > JMPNZ                                                    $11, ->4
   33    26    > > RETURN                                                   null

End of function list_nodes

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
276.94 ms | 974 KiB | 14 Q