3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); ini_set('display_errors', 1); $data = 'string'; if (!is_array($data) || !isset($data[$field])) { die('REACHED!'); } echo $data['no'];
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/4biop
function name:  (null)
number of ops:  19
compiled vars:  !0 = $data, !1 = $field
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 1
          6        DO_ICALL                                                 
    4     7        ASSIGN                                                   !0, 'string'
    5     8        TYPE_CHECK                                  128  ~5      !0
          9        BOOL_NOT                                         ~6      ~5
         10      > JMPNZ_EX                                         ~6      ~6, ->14
         11    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~7      !0, !1
         12        BOOL_NOT                                         ~8      ~7
         13        BOOL                                             ~6      ~8
         14    > > JMPZ                                                     ~6, ->16
    6    15    > > EXIT                                                     'REACHED%21'
    8    16    >   FETCH_DIM_R                                      ~9      !0, 'no'
         17        ECHO                                                     ~9
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.22 ms | 1395 KiB | 17 Q