3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml="<root><nod1>content</nod1></root>"; $b=$xml->root; echo $c; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X5NL0
function name:  (null)
number of ops:  5
compiled vars:  !0 = $xml, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Croot%3E%3Cnod1%3Econtent%3C%2Fnod1%3E%3C%2Froot%3E'
    3     1        FETCH_OBJ_R                                      ~4      !0, 'root'
          2        ASSIGN                                                   !1, ~4
    4     3        ECHO                                                     !2
    5     4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.18 ms | 1392 KiB | 13 Q