3v4l.org

run code in 500+ PHP versions simultaneously
<?php $sxe = simplexml_load_string('<?xml version="1.0" encoding="UTF-8" standalone="yes"?><foo><bar>baz</bar></foo>'); echo $sxe->asXML();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WqLfO
function name:  (null)
number of ops:  8
compiled vars:  !0 = $sxe
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'simplexml_load_string'
          1        SEND_VAL                                                     '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%3Cfoo%3E%3Cbar%3Ebaz%3C%2Fbar%3E%3C%2Ffoo%3E'
          2        DO_ICALL                                             $1      
          3        ASSIGN                                                       !0, $1
    4     4        INIT_METHOD_CALL                                             !0, 'asXML'
          5        DO_FCALL                                          0  $3      
          6        ECHO                                                         $3
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.62 ms | 476 KiB | 8 Q