3v4l.org

run code in 500+ PHP versions simultaneously
<?php $sx = simplexml_load_string('<foo>Text<bar baz="bob"><![CDATA[P&O]]></bar><bar /></foo>'); var_dump($sx);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h6KeF
function name:  (null)
number of ops:  8
compiled vars:  !0 = $sx
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'simplexml_load_string'
          1        SEND_VAL                                                     '%3Cfoo%3EText%3Cbar+baz%3D%22bob%22%3E%3C%21%5BCDATA%5BP%26O%5D%5D%3E%3C%2Fbar%3E%3Cbar+%2F%3E%3C%2Ffoo%3E'
          2        DO_ICALL                                             $1      
          3        ASSIGN                                                       !0, $1
    4     4        INIT_FCALL                                                   'var_dump'
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                                     
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.99 ms | 3441 KiB | 15 Q