3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '<key><subKey>value</subKey></key>'; $xml = simplexml_load_string($input); $xml->key->nonKey;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QMeEo
function name:  (null)
number of ops:  9
compiled vars:  !0 = $input, !1 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Ckey%3E%3CsubKey%3Evalue%3C%2FsubKey%3E%3C%2Fkey%3E'
    3     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     5        FETCH_OBJ_R                                      ~5      !1, 'key'
          6        FETCH_OBJ_R                                      ~6      ~5, 'nonKey'
          7        FREE                                                     ~6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.95 ms | 1394 KiB | 15 Q