3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<< EOT <?xml version='1.0' encoding='UTF-8'?> <keys> <key> <keyID>3169149</keyID> <vCode>FQVKg5iK2k5gnMnafK6fn0K3QUKnWzjRoSv5C2TpgEtC8qFqH9Ism2E4IcFOPkgR</vCode> </key> <key> <keyID>3184662</keyID> <vCode>u7G74sPhQgKz7AqYclI40xlHWqbc7b8bZzPYDC0B4tPXnvNLHu8XbbGyert1YLMs</vCode> </key> </keys> EOT; $simpleXML = simplexml_load_string($xml); // Load XML string data into the simplexml object parser foreach ($simpleXML->key as $key) { $keyID = $key->keyID; $vCode = $key->vCode; echo $keyID . ' : ' . $vCode; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 16
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 16
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/Jv9iI
function name:  (null)
number of ops:  18
compiled vars:  !0 = $xml, !1 = $simpleXML, !2 = $key, !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%3Ckeys%3E%0A%09%3Ckey%3E%0A%09%09%3CkeyID%3E3169149%3C%2FkeyID%3E%0A%09%09%3CvCode%3EFQVKg5iK2k5gnMnafK6fn0K3QUKnWzjRoSv5C2TpgEtC8qFqH9Ism2E4IcFOPkgR%3C%2FvCode%3E%0A%09%3C%2Fkey%3E%0A%09%3Ckey%3E%0A%09%09%3CkeyID%3E3184662%3C%2FkeyID%3E%0A%09%09%3CvCode%3Eu7G74sPhQgKz7AqYclI40xlHWqbc7b8bZzPYDC0B4tPXnvNLHu8XbbGyert1YLMs%3C%2FvCode%3E%0A%09%3C%2Fkey%3E%0A%3C%2Fkeys%3E'
   16     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
   18     5        FETCH_OBJ_R                                      ~8      !1, 'key'
          6      > FE_RESET_R                                       $9      ~8, ->16
          7    > > FE_FETCH_R                                               $9, !2, ->16
   19     8    >   FETCH_OBJ_R                                      ~10     !2, 'keyID'
          9        ASSIGN                                                   !3, ~10
   20    10        FETCH_OBJ_R                                      ~12     !2, 'vCode'
         11        ASSIGN                                                   !4, ~12
   21    12        CONCAT                                           ~14     !3, '+%3A+'
         13        CONCAT                                           ~15     ~14, !4
         14        ECHO                                                     ~15
   18    15      > JMP                                                      ->7
         16    >   FE_FREE                                                  $9
   22    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.28 ms | 1395 KiB | 15 Q