3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <html> <head><title></title></head> <body> <content type="text">the content</content> </body> </html> XML; $dom = new DOMDocument($xml); echo $dom;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GM8ku
function name:  (null)
number of ops:  7
compiled vars:  !0 = $xml, !1 = $dom
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Chtml%3E%0A%3Chead%3E%3Ctitle%3E%3C%2Ftitle%3E%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Ccontent+type%3D%22text%22%3Ethe+content%3C%2Fcontent%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   10     1        NEW                                              $3      'DOMDocument'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
   11     5        ECHO                                                     !1
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.83 ms | 1384 KiB | 13 Q