3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<< EOT <?xml version='1.0' encoding='UTF-8'?> <rowset name="keys" key="keyID" columns="keyID,vCode"> <row keyID="3169149" vCode="FQVKg5iK2k5gnMnafK6fn0K3QUKnWzjRoSv5C2TpgEtC8qFqH9Ism2E4IcFOPkgR" /> <row keyID="3184662" vCode="u7G74sPhQgKz7AqYclI40xlHWqbc7b8bZzPYDC0B4tPXnvNLHu8XbbGyert1YLMs" /> </rowset> EOT; $simpleXML = simplexml_load_string($xml); // Load XML string data into the simplexml object parser foreach ($simpleXML->rowset->row as $row) { $keyID = $row['keyID']; $vCode = $row['vCode']; echo $keyID . ' : ' . $vCode; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 17
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 17
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/EhoGk
function name:  (null)
number of ops:  19
compiled vars:  !0 = $xml, !1 = $simpleXML, !2 = $row, !3 = $keyID, !4 = $vCode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%271.0%27+encoding%3D%27UTF-8%27%3F%3E%0A%3Crowset+name%3D%22keys%22+key%3D%22keyID%22+columns%3D%22keyID%2CvCode%22%3E%0A%09%3Crow+keyID%3D%223169149%22+vCode%3D%22FQVKg5iK2k5gnMnafK6fn0K3QUKnWzjRoSv5C2TpgEtC8qFqH9Ism2E4IcFOPkgR%22+%2F%3E%0A%09%3Crow+keyID%3D%223184662%22+vCode%3D%22u7G74sPhQgKz7AqYclI40xlHWqbc7b8bZzPYDC0B4tPXnvNLHu8XbbGyert1YLMs%22+%2F%3E%09%0A%3C%2Frowset%3E'
   10     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
   12     5        FETCH_OBJ_R                                      ~8      !1, 'rowset'
          6        FETCH_OBJ_R                                      ~9      ~8, 'row'
          7      > FE_RESET_R                                       $10     ~9, ->17
          8    > > FE_FETCH_R                                               $10, !2, ->17
   13     9    >   FETCH_DIM_R                                      ~11     !2, 'keyID'
         10        ASSIGN                                                   !3, ~11
   14    11        FETCH_DIM_R                                      ~13     !2, 'vCode'
         12        ASSIGN                                                   !4, ~13
   15    13        CONCAT                                           ~15     !3, '+%3A+'
         14        CONCAT                                           ~16     ~15, !4
         15        ECHO                                                     ~16
   12    16      > JMP                                                      ->8
         17    >   FE_FREE                                                  $10
   16    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.22 ms | 1395 KiB | 15 Q