3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<EOD <response type='6'> <body account='29247833500110' total_summ='43.87' ref='bp74065007' /> </response> EOD; $obj = new SimpleXMLElement($xml); var_dump($obj);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GvH7n
function name:  (null)
number of ops:  9
compiled vars:  !0 = $xml, !1 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cresponse+type%3D%276%27%3E%0A%3Cbody+account%3D%2729247833500110%27++total_summ%3D%2743.87%27++ref%3D%27bp74065007%27+%2F%3E%0A%3C%2Fresponse%3E'
    7     1        NEW                                              $3      'SimpleXMLElement'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    8     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.92 ms | 1394 KiB | 15 Q