3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new \SimpleXMLElement('<resource href="/"><x><0>test</0></x></resource>'); echo $xml->x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ojguo
function name:  (null)
number of ops:  7
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'SimpleXMLElement'
          1        SEND_VAL_EX                                              '%3Cresource+href%3D%22%2F%22%3E%3Cx%3E%3C0%3Etest%3C%2F0%3E%3C%2Fx%3E%3C%2Fresource%3E'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    4     4        FETCH_OBJ_R                                      ~4      !0, 'x'
          5        ECHO                                                     ~4
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.42 ms | 1384 KiB | 13 Q