3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(simplexml_load_string('<test>1</test>')[0]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rZkic
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAL                                                 '%3Ctest%3E1%3C%2Ftest%3E'
          3        DO_ICALL                                         $0      
          4        FETCH_DIM_R                                      ~1      $0, 0
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                                 
    3     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.9 ms | 1394 KiB | 17 Q