3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { \Dom\HTMLDocument::createFromString('', options: LIBXML_HTML_NODEFDTD); } catch (\Throwable $e) { echo $e->__toString(); } \Dom\HTMLDocument::createFromString('', options: Dom\NO_DEFAULT_NS);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 6
Branch analysis from position: 6
2 jumps found. (Code = 107) Position 1 = 7, Position 2 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pZj10
function name:  (null)
number of ops:  17
compiled vars:  !0 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_STATIC_METHOD_CALL                                  'Dom%5CHTMLDocument', 'createFromString'
          1        SEND_VAL_EX                                              ''
          2        SEND_VAL_EX                                              4, 'options'
          3        CHECK_UNDEF_ARGS                                         
          4        DO_FCALL                                      1          
          5      > JMP                                                      ->10
    5     6  E > > CATCH                                       last         'Throwable'
    6     7    >   INIT_METHOD_CALL                                         !0, '__toString'
          8        DO_FCALL                                      0  $2      
          9        ECHO                                                     $2
    8    10    >   INIT_STATIC_METHOD_CALL                                  'Dom%5CHTMLDocument', 'createFromString'
         11        SEND_VAL_EX                                              ''
         12        FETCH_CONSTANT                                   ~3      'Dom%5CNO_DEFAULT_NS'
         13        SEND_VAL_EX                                              ~3, 'options'
         14        CHECK_UNDEF_ARGS                                         
         15        DO_FCALL                                      1          
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
132.21 ms | 994 KiB | 13 Q