3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = simplexml_load_string('<r><s>wa</s> <s>waa</s></r>'); var_export($x->asXML());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P0kIP
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'simplexml_load_string'
          1        SEND_VAL                                                 '%3Cr%3E%3Cs%3Ewa%3C%2Fs%3E%0A%3Cs%3Ewaa%3C%2Fs%3E%3C%2Fr%3E'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    7     4        INIT_FCALL                                               'var_export'
          5        INIT_METHOD_CALL                                         !0, 'asXML'
          6        DO_FCALL                                      0  $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.93 ms | 1393 KiB | 17 Q