3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = simplexml_load_string($str); echo $xml[0]['data-design'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BT5c5
function name:  (null)
number of ops:  8
compiled vars:  !0 = $xml, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'simplexml_load_string'
          1        SEND_VAR                                                 !1
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        FETCH_DIM_R                                      ~4      !0, 0
          5        FETCH_DIM_R                                      ~5      ~4, 'data-design'
          6        ECHO                                                     ~5
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.28 ms | 1394 KiB | 15 Q