3v4l.org

run code in 300+ PHP versions simultaneously
<?php $something['123'] = 1; if(!isset($something['123']) || $something['123'] != 1) { echo 'good'; } else { echo 'bad'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/FN4lq
function name:  (null)
number of ops:  13
compiled vars:  !0 = $something
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 123
          1        OP_DATA                                                  1
    3     2        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      !0, 123
          3        BOOL_NOT                                         ~3      ~2
          4      > JMPNZ_EX                                         ~3      ~3, ->8
          5    >   FETCH_DIM_R                                      ~4      !0, 123
          6        IS_NOT_EQUAL                                     ~5      ~4, 1
          7        BOOL                                             ~3      ~5
          8    > > JMPZ                                                     ~3, ->11
    4     9    >   ECHO                                                     'good'
         10      > JMP                                                      ->12
    7    11    >   ECHO                                                     'bad'
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.96 ms | 1384 KiB | 13 Q