3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = []; $arr['here'] = "2"; var_dump(isset($arr['here']) && $arr['here'] === "1"); // false var_dump(isset($arr['here']) && $arr['here'] === "2"); // true var_dump(isset($arr['here']) && $arr['here'] === "3"); // false
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 14, Position 2 = 17
Branch analysis from position: 14
2 jumps found. (Code = 46) Position 1 = 22, Position 2 = 25
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
Branch analysis from position: 17
Branch analysis from position: 9
filename:       /in/O1PdA
function name:  (null)
number of ops:  28
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 'here'
          2        OP_DATA                                                  '2'
    5     3        INIT_FCALL                                               'var_dump'
          4        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      !0, 'here'
          5      > JMPZ_EX                                          ~3      ~3, ->9
          6    >   FETCH_DIM_R                                      ~4      !0, 'here'
          7        IS_IDENTICAL                                     ~5      ~4, '1'
          8        BOOL                                             ~3      ~5
          9    >   SEND_VAL                                                 ~3
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'var_dump'
         12        ISSET_ISEMPTY_DIM_OBJ                         0  ~7      !0, 'here'
         13      > JMPZ_EX                                          ~7      ~7, ->17
         14    >   FETCH_DIM_R                                      ~8      !0, 'here'
         15        IS_IDENTICAL                                     ~9      ~8, '2'
         16        BOOL                                             ~7      ~9
         17    >   SEND_VAL                                                 ~7
         18        DO_ICALL                                                 
    7    19        INIT_FCALL                                               'var_dump'
         20        ISSET_ISEMPTY_DIM_OBJ                         0  ~11     !0, 'here'
         21      > JMPZ_EX                                          ~11     ~11, ->25
         22    >   FETCH_DIM_R                                      ~12     !0, 'here'
         23        IS_IDENTICAL                                     ~13     ~12, '3'
         24        BOOL                                             ~11     ~13
         25    >   SEND_VAL                                                 ~11
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
127.85 ms | 944 KiB | 16 Q