3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = "http://webmax.hayamax.com.br/crossdock/servlet/CrossDockingServlet.class.php?action=crossDockingPrice&customerId=140040&compress=0&canal=C6"; $xml = simplexml_load_file($link) -> product; foreach($xml -> item as $item){ echo "<strong>prod_id:</strong> ".utf8_decode($item -> prod_id)."<br />"; echo "<strong>brand:</strong> ".utf8_decode($item -> brand)."<br />"; echo "<br />"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 25
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 25
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
filename:       /in/MmSDW
function name:  (null)
number of ops:  27
compiled vars:  !0 = $link, !1 = $xml, !2 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwebmax.hayamax.com.br%2Fcrossdock%2Fservlet%2FCrossDockingServlet.class.php%3Faction%3DcrossDockingPrice%26customerId%3D140040%26compress%3D0%26canal%3DC6'
    3     1        INIT_FCALL                                               'simplexml_load_file'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        FETCH_OBJ_R                                      ~5      $4, 'product'
          5        ASSIGN                                                   !1, ~5
    4     6        FETCH_OBJ_R                                      ~7      !1, 'item'
          7      > FE_RESET_R                                       $8      ~7, ->25
          8    > > FE_FETCH_R                                               $8, !2, ->25
    5     9    >   INIT_FCALL                                               'utf8_decode'
         10        FETCH_OBJ_R                                      ~9      !2, 'prod_id'
         11        SEND_VAL                                                 ~9
         12        DO_ICALL                                         $10     
         13        CONCAT                                           ~11     '%3Cstrong%3Eprod_id%3A%3C%2Fstrong%3E+', $10
         14        CONCAT                                           ~12     ~11, '%3Cbr+%2F%3E'
         15        ECHO                                                     ~12
    6    16        INIT_FCALL                                               'utf8_decode'
         17        FETCH_OBJ_R                                      ~13     !2, 'brand'
         18        SEND_VAL                                                 ~13
         19        DO_ICALL                                         $14     
         20        CONCAT                                           ~15     '%3Cstrong%3Ebrand%3A%3C%2Fstrong%3E+', $14
         21        CONCAT                                           ~16     ~15, '%3Cbr+%2F%3E'
         22        ECHO                                                     ~16
    7    23        ECHO                                                     '%3Cbr+%2F%3E'
    4    24      > JMP                                                      ->8
         25    >   FE_FREE                                                  $8
    9    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.66 ms | 1396 KiB | 17 Q