3v4l.org

run code in 300+ PHP versions simultaneously
<?php $doc = new \DOMDocument('1.0', 'UTF-8'); $doc->saveXML(null, LIBXML_NOEMPTYTAG);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EgND4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $doc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DOMDocument'
          1        SEND_VAL_EX                                              '1.0'
          2        SEND_VAL_EX                                              'UTF-8'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $1
    4     5        INIT_METHOD_CALL                                         !0, 'saveXML'
          6        SEND_VAL_EX                                              null
          7        SEND_VAL_EX                                              4
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.54 ms | 1392 KiB | 13 Q