3v4l.org

run code in 500+ PHP versions simultaneously
<?php if (!isset($array['key'])) { $array['key'] = 1; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
filename:       /in/2W7W1
function name:  (null)
number of ops:  6
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ISSET_ISEMPTY_DIM_OBJ                             0  ~1      !0, 'key'
          1        BOOL_NOT                                             ~2      ~1
          2      > JMPZ                                                         ~2, ->5
    3     3    >   ASSIGN_DIM                                                   !0, 'key'
          4        OP_DATA                                                      1
    4     5    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
194.36 ms | 2077 KiB | 13 Q