3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reader = XMLReader::XML("<root>hi</root>"); while ($reader->read()) { var_dump($reader); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/qsVMP
function name:  (null)
number of ops:  12
compiled vars:  !0 = $reader
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_STATIC_METHOD_CALL                                  'XMLReader', 'XML'
          1        SEND_VAL                                                 '%3Croot%3Ehi%3C%2Froot%3E'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    3     4      > JMP                                                      ->8
    4     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    3     8    >   INIT_METHOD_CALL                                         !0, 'read'
          9        DO_FCALL                                      0  $4      
         10      > JMPNZ                                                    $4, ->5
    5    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.33 ms | 996 KiB | 14 Q