3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '&#x2013266174';//'&#02; &#x02;'; $dom = new \DOMDocument('1.0', 'utf-8'); $loadResult = $dom->loadHtml('<?xml encoding="UTF-8">' . $html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7n05F
function name:  (null)
number of ops:  12
compiled vars:  !0 = $html, !1 = $dom, !2 = $loadResult
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%26%23x2013266174'
    5     1        NEW                                              $4      'DOMDocument'
          2        SEND_VAL_EX                                              '1.0'
          3        SEND_VAL_EX                                              'utf-8'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $4
    6     6        INIT_METHOD_CALL                                         !1, 'loadHtml'
          7        CONCAT                                           ~7      '%3C%3Fxml+encoding%3D%22UTF-8%22%3E', !0
          8        SEND_VAL_EX                                              ~7
          9        DO_FCALL                                      0  $8      
         10        ASSIGN                                                   !2, $8
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
203.2 ms | 1396 KiB | 14 Q