3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<< XML <Export id="123" apples="pears"> <Works foo="bar" id="234"/> <Doesnt bar="foo" id="345">Stack Exchange</Doesnt> </Export> XML; $export = simplexml_load_string($xml); echo $export->doesnt['bar'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sGrkd
function name:  (null)
number of ops:  9
compiled vars:  !0 = $xml, !1 = $export
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3CExport+id%3D%22123%22+apples%3D%22pears%22%3E%0A++++%3CWorks+foo%3D%22bar%22+id%3D%22234%22%2F%3E%0A++++%3CDoesnt+bar%3D%22foo%22+id%3D%22345%22%3EStack+Exchange%3C%2FDoesnt%3E%0A%3C%2FExport%3E'
    9     1        INIT_FCALL                                               'simplexml_load_string'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   10     5        FETCH_OBJ_R                                      ~5      !1, 'doesnt'
          6        FETCH_DIM_R                                      ~6      ~5, 'bar'
          7        ECHO                                                     ~6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.11 ms | 1394 KiB | 15 Q