3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <html> <body> <h1>test</h1> </body> </html> XML; $document = new DOMDocument(); $document->loadXML($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q8Jgm
function name:  (null)
number of ops:  8
compiled vars:  !0 = $xml, !1 = $document
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Chtml%3E%0A++%3Cbody%3E%0A++++%3Ch1%3Etest%3C%2Fh1%3E%0A++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   10     1        NEW                                              $3      'DOMDocument'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
   11     4        INIT_METHOD_CALL                                         !1, 'loadXML'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.62 ms | 1392 KiB | 13 Q