3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = ' <rsp stat="fail" version="1.0"> <err code="1" msg="Invalid API key or user key"/> </rsp> '; print_r(simplexml_load_string($res));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pv1lK
function name:  (null)
number of ops:  8
compiled vars:  !0 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A%3Crsp+stat%3D%22fail%22+version%3D%221.0%22%3E%0A++++%3Cerr+code%3D%221%22+msg%3D%22Invalid+API+key+or+user+key%22%2F%3E%0A%3C%2Frsp%3E%0A'
    8     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'simplexml_load_string'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.67 ms | 1394 KiB | 17 Q