3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0"?> <rootElem> XML; $reader = XMLReader(); $reader->xml($xml, null, LIBXML_NOERROR | LIBXML_NOWARNING); $reader->read();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ArvrF
function name:  (null)
number of ops:  12
compiled vars:  !0 = $xml, !1 = $reader
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3CrootElem%3E'
    7     1        INIT_FCALL_BY_NAME                                       'XMLReader'
          2        DO_FCALL                                      0  $3      
          3        ASSIGN                                                   !1, $3
    8     4        INIT_METHOD_CALL                                         !1, 'xml'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAL_EX                                              null
          7        SEND_VAL_EX                                              96
          8        DO_FCALL                                      0          
   10     9        INIT_METHOD_CALL                                         !1, 'read'
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
132.17 ms | 1393 KiB | 13 Q