3v4l.org

run code in 500+ 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 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 5
Branch analysis from position: 5
2 jumps found. (Code = 107) Position 1 = 6, Position 2 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pZj10
function name:  (null)
number of ops:  15
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                                                     ''
          2        SEND_VAL                                                     4
          3        DO_FCALL                                          0          
          4      > JMP                                                          ->9
    5     5  E > > CATCH                                           last         'Throwable'
    6     6    >   INIT_METHOD_CALL                                             !0, '__toString'
          7        DO_FCALL                                          0  $2      
          8        ECHO                                                         $2
    8     9    >   INIT_STATIC_METHOD_CALL                                      'Dom%5CHTMLDocument', 'createFromString'
         10        SEND_VAL                                                     ''
         11        FETCH_CONSTANT                                       ~3      'Dom%5CNO_DEFAULT_NS'
         12        SEND_VAL                                                     ~3
         13        DO_FCALL                                          0          
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.36 ms | 1287 KiB | 13 Q