3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0"?> <xml><elem>asdf</elem></xml> XML; $xe = new SimpleXMLElement($xml); echo $xe->elem;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dlNjd
function name:  (null)
number of ops:  8
compiled vars:  !0 = $xml, !1 = $xe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3Cxml%3E%3Celem%3Easdf%3C%2Felem%3E%3C%2Fxml%3E'
    6     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    7     5        FETCH_OBJ_R                                      ~6      !1, 'elem'
          6        ECHO                                                     ~6
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.2 ms | 1384 KiB | 13 Q