3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0"?> <rootElem> XML; libxml_use_internal_errors(true); error_reporting(error_reporting() ^ E_WARNING); $reader = new 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/GiIBe
function name:  (null)
number of ops:  21
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                                               'libxml_use_internal_errors'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                                 
    8     4        INIT_FCALL                                               'error_reporting'
          5        INIT_FCALL                                               'error_reporting'
          6        DO_ICALL                                         $4      
          7        BW_XOR                                           ~5      $4, 2
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
   10    10        NEW                                              $7      'XMLReader'
         11        DO_FCALL                                      0          
         12        ASSIGN                                                   !1, $7
   11    13        INIT_METHOD_CALL                                         !1, 'xml'
         14        SEND_VAR_EX                                              !0
         15        SEND_VAL_EX                                              null
         16        SEND_VAL_EX                                              96
         17        DO_FCALL                                      0          
   13    18        INIT_METHOD_CALL                                         !1, 'read'
         19        DO_FCALL                                      0          
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.4 ms | 1395 KiB | 17 Q