3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new simplexmlelement('<?xml version="1.0" encoding="utf-8"?> <comments><comment> <user>User4251</user> <date>02.10.2018</date> <text>Comment body goes here</text> </comment> <comment> <user>User8650</user> <date>01.10.2018</date> <text>Comment body goes here</text> </comment></comments>'); print_r($xml);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/StGhH
function name:  (null)
number of ops:  8
compiled vars:  !0 = $xml
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'simplexmlelement'
          1        SEND_VAL_EX                                              '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E%0A%3Ccomments%3E%3Ccomment%3E%0A++%3Cuser%3EUser4251%3C%2Fuser%3E%0A++%3Cdate%3E02.10.2018%3C%2Fdate%3E%0A++%3Ctext%3EComment+body+goes+here%3C%2Ftext%3E%0A%3C%2Fcomment%3E%0A%3Ccomment%3E%0A++%3Cuser%3EUser8650%3C%2Fuser%3E%0A++%3Cdate%3E01.10.2018%3C%2Fdate%3E%0A++%3Ctext%3EComment+body+goes+here%3C%2Ftext%3E%0A%3C%2Fcomment%3E%3C%2Fcomments%3E'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
   13     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
295.58 ms | 1009 KiB | 14 Q