3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = "0;78d13qqoglyszmorspfwfdmwffgnubgr;\u003c?dpf sent len=\"1\"?\u003e\u003c?dpf orth code=\"unknown\" prop=\"Lesen;Lehnen;Lehren;Leasen;Leisen\" ?\u003elehsen\u003c?dpf /orth ?\u003e\u003c?dpf /sent ?\u003e"; $response = preg_replace("/\\\\u([0-9a-f]{3,4})/i", "&#x\\1;", $response); $response = html_entity_decode($response , null, 'UTF-8'); $response = str_replace([ '<?dpf ', ' ?>', '?>' ], [ '<', '>', '>' ], $response); $response = substr($response, 36-1); echo $response; echo "\n"; $xml = simplexml_load_string($response); foreach ($xml as $node) { echo $node . " => "; print_r(explode(';', $node->attributes()['prop'])); echo "\n\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 31, Position 2 = 46
Branch analysis from position: 31
2 jumps found. (Code = 78) Position 1 = 32, Position 2 = 46
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
Branch analysis from position: 46
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 46
filename:       /in/pVeqf
function name:  (null)
number of ops:  48
compiled vars:  !0 = $response, !1 = $xml, !2 = $node
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '0%3B78d13qqoglyszmorspfwfdmwffgnubgr%3B%5Cu003c%3Fdpf+sent+len%3D%221%22%3F%5Cu003e%5Cu003c%3Fdpf+orth+code%3D%22unknown%22+prop%3D%22Lesen%3BLehnen%3BLehren%3BLeasen%3BLeisen%22+%3F%5Cu003elehsen%5Cu003c%3Fdpf+%2Forth+%3F%5Cu003e%5Cu003c%3Fdpf+%2Fsent+%3F%5Cu003e'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5C%5Cu%28%5B0-9a-f%5D%7B3%2C4%7D%29%2Fi'
          3        SEND_VAL                                                 '%26%23x%5C1%3B'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !0, $4
    5     7        INIT_FCALL                                               'html_entity_decode'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 null
         10        SEND_VAL                                                 'UTF-8'
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !0, $6
    6    13        INIT_FCALL                                               'str_replace'
         14        SEND_VAL                                                 <array>
         15        SEND_VAL                                                 <array>
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $8      
         18        ASSIGN                                                   !0, $8
    8    19        INIT_FCALL                                               'substr'
         20        SEND_VAR                                                 !0
         21        SEND_VAL                                                 35
         22        DO_ICALL                                         $10     
         23        ASSIGN                                                   !0, $10
   10    24        ECHO                                                     !0
   11    25        ECHO                                                     '%0A'
   13    26        INIT_FCALL                                               'simplexml_load_string'
         27        SEND_VAR                                                 !0
         28        DO_ICALL                                         $12     
         29        ASSIGN                                                   !1, $12
   14    30      > FE_RESET_R                                       $14     !1, ->46
         31    > > FE_FETCH_R                                               $14, !2, ->46
   15    32    >   CONCAT                                           ~15     !2, '+%3D%3E+'
         33        ECHO                                                     ~15
   16    34        INIT_FCALL                                               'print_r'
         35        INIT_FCALL                                               'explode'
         36        SEND_VAL                                                 '%3B'
         37        INIT_METHOD_CALL                                         !2, 'attributes'
         38        DO_FCALL                                      0  $16     
         39        FETCH_DIM_R                                      ~17     $16, 'prop'
         40        SEND_VAL                                                 ~17
         41        DO_ICALL                                         $18     
         42        SEND_VAR                                                 $18
         43        DO_ICALL                                                 
   17    44        ECHO                                                     '%0A%0A'
   14    45      > JMP                                                      ->31
         46    >   FE_FREE                                                  $14
   18    47      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.81 ms | 1400 KiB | 27 Q