3v4l.org

run code in 300+ 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:  12
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_EX                                              '%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_EX                                              ~0, 'options'
          5        CHECK_UNDEF_ARGS                                         
    3     6        DO_FCALL                                      1  $1      
    5     7        INIT_METHOD_CALL                                         $1, 'saveHtml'
          8        DO_FCALL                                      0  $2      
          9        SEND_VAR                                                 $2
    3    10        DO_ICALL                                                 
    5    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.92 ms | 996 KiB | 14 Q