3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.11 ms | 1392 KiB | 13 Q