3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '<document><content><![CDATA[Hello, world!]]></content></document>'; $xml = new SimpleXMLElement($input); print_r($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oFjEf
function name:  (null)
number of ops:  9
compiled vars:  !0 = $input, !1 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cdocument%3E%3Ccontent%3E%3C%21%5BCDATA%5BHello%2C+world%21%5D%5D%3E%3C%2Fcontent%3E%3C%2Fdocument%3E'
    4     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    5     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.25 ms | 1394 KiB | 15 Q