3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(\Dom\HTMLDocument::createFromString('<!DOCTYPE html> <html> <body>abc<br>def</body></html>', options: \Dom\HTML_NO_DEFAULT_NS)->saveHtml());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UJ8fL
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_STATIC_METHOD_CALL                                      'Dom%5CHTMLDocument', 'createFromString'
          2        SEND_VAL                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Cbody%3Eabc%3Cbr%3Edef%3C%2Fbody%3E%3C%2Fhtml%3E'
    5     3        FETCH_CONSTANT                                       ~0      'Dom%5CHTML_NO_DEFAULT_NS'
          4        SEND_VAL                                                     ~0
    3     5        DO_FCALL                                          0  $1      
    5     6        INIT_METHOD_CALL                                             $1, 'saveHtml'
          7        DO_FCALL                                          0  $2      
          8        SEND_VAR                                                     $2
    3     9        DO_ICALL                                                     
    5    10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
155.14 ms | 1279 KiB | 14 Q