3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $response = false; $data = '<?xml version="1.0" encoding="UTF-8"?><result><status>0</status><error>FATAL_ERROR</error></result>'; if (((isset($data['result']['result']['status']) && $data['result']['result']['status']) || (isset($data['result']['result']['STATUS']) && $data['result']['result']['STATUS'])) ) { $response = $data['result']; } var_dump($response);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
2 jumps found. (Code = 47) Position 1 = 14, Position 2 = 23
Branch analysis from position: 14
2 jumps found. (Code = 46) Position 1 = 18, Position 2 = 22
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 26
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
Branch analysis from position: 22
Branch analysis from position: 23
Branch analysis from position: 13
filename:       /in/42HYB
function name:  (null)
number of ops:  30
compiled vars:  !0 = $response, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, <false>
    6     4        ASSIGN                                                   !1, '%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E%3Cresult%3E%3Cstatus%3E0%3C%2Fstatus%3E%3Cerror%3EFATAL_ERROR%3C%2Ferror%3E%3C%2Fresult%3E'
    7     5        FETCH_DIM_IS                                     ~5      !1, 'result'
          6        FETCH_DIM_IS                                     ~6      ~5, 'result'
          7        ISSET_ISEMPTY_DIM_OBJ                         0  ~7      ~6, 'status'
          8      > JMPZ_EX                                          ~7      ~7, ->13
          9    >   FETCH_DIM_R                                      ~8      !1, 'result'
         10        FETCH_DIM_R                                      ~9      ~8, 'result'
         11        FETCH_DIM_R                                      ~10     ~9, 'status'
         12        BOOL                                             ~7      ~10
         13    > > JMPNZ_EX                                         ~7      ~7, ->23
         14    >   FETCH_DIM_IS                                     ~11     !1, 'result'
         15        FETCH_DIM_IS                                     ~12     ~11, 'result'
         16        ISSET_ISEMPTY_DIM_OBJ                         0  ~13     ~12, 'STATUS'
         17      > JMPZ_EX                                          ~13     ~13, ->22
         18    >   FETCH_DIM_R                                      ~14     !1, 'result'
         19        FETCH_DIM_R                                      ~15     ~14, 'result'
         20        FETCH_DIM_R                                      ~16     ~15, 'STATUS'
         21        BOOL                                             ~13     ~16
         22    >   BOOL                                             ~7      ~13
         23    > > JMPZ                                                     ~7, ->26
         24    >   FETCH_DIM_R                                      ~17     !1, 'result'
         25        ASSIGN                                                   !0, ~17
    9    26    >   INIT_FCALL                                               'var_dump'
         27        SEND_VAR                                                 !0
         28        DO_ICALL                                                 
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.88 ms | 1396 KiB | 17 Q