3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml='<?xml version="1.0" encoding="UTF-8" ?>'; $xml.='<Test> <Item> <Price>0.53</Price> <Text>This is some test text. We need to see how it does.&lt;br&gt This is a second line of text.</Text> </Item> </Test>'; $result=simplexml_load_string($xml); echo $result->Item->Text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JEVs2
function name:  (null)
number of ops:  10
compiled vars:  !0 = $xml, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+%3F%3E'
    3     1        ASSIGN_OP                                     8          !0, '%3CTest%3E%0A++%3CItem%3E%0A++++%3CPrice%3E0.53%3C%2FPrice%3E%0A++++%3CText%3EThis+is+some+test+text.+We+need+to+see+how+it+does.%26lt%3Bbr%26gt%0AThis+is+a+second+line+of+text.%3C%2FText%3E%0A++%3C%2FItem%3E%0A%3C%2FTest%3E'
   11     2        INIT_FCALL                                               'simplexml_load_string'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
   13     6        FETCH_OBJ_R                                      ~6      !1, 'Item'
          7        FETCH_OBJ_R                                      ~7      ~6, 'Text'
          8        ECHO                                                     ~7
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.71 ms | 1385 KiB | 15 Q