3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.4 ms | 1385 KiB | 15 Q