3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml="<root><content>This is a test.</content></root>"; $sxe=new simpleXMLElement($xml); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6QcIX
function name:  (null)
number of ops:  6
compiled vars:  !0 = $xml, !1 = $sxe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Croot%3E%3Ccontent%3EThis+is+a+test.%3C%2Fcontent%3E%3C%2Froot%3E'
    3     1        NEW                                              $3      'simpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    4     5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.94 ms | 1392 KiB | 13 Q