3v4l.org

run code in 300+ PHP versions simultaneously
<?php $goodXML = '<test><testing>my value</testing></test>'; $doc = simplexml_load_string($goodXml); echo $doc->testing;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qSmjC
function name:  (null)
number of ops:  8
compiled vars:  !0 = $goodXML, !1 = $doc, !2 = $goodXml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Ctest%3E%3Ctesting%3Emy+value%3C%2Ftesting%3E%3C%2Ftest%3E'
    3     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !2
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    4     5        FETCH_OBJ_R                                      ~6      !1, 'testing'
          6        ECHO                                                     ~6
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.13 ms | 1398 KiB | 15 Q