3v4l.org

run code in 500+ PHP versions simultaneously
<?php $dom = new DOMDocument(); if (!$dom->loadXML('<malformed></mlfrm>')) { print_r(libxml_get_errors()); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/8vJBH
function name:  (null)
number of ops:  14
compiled vars:  !0 = $dom
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $1      'DOMDocument'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
    4     3        INIT_METHOD_CALL                                             !0, 'loadXML'
          4        SEND_VAL_EX                                                  '%3Cmalformed%3E%3C%2Fmlfrm%3E'
          5        DO_FCALL                                          0  $4      
          6        BOOL_NOT                                             ~5      $4
          7      > JMPZ                                                         ~5, ->13
    5     8    >   INIT_FCALL                                                   'print_r'
          9        INIT_FCALL                                                   'libxml_get_errors'
         10        DO_ICALL                                             $6      
         11        SEND_VAR                                                     $6
         12        DO_ICALL                                                     
    6    13    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.4 ms | 1165 KiB | 10 Q