3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ('test' => 1, 'hello' => NULL, 'pie' => array('a' => 'apple')); print isset($a['test']); // TRUE print isset($a['foo']); // FALSE print isset($a['hello']); // FALSE
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gq9aK
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      !0, 'test'
          2        ECHO                                                     ~2
    6     3        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      !0, 'foo'
          4        ECHO                                                     ~3
    7     5        ISSET_ISEMPTY_DIM_OBJ                         0  ~4      !0, 'hello'
          6        ECHO                                                     ~4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.62 ms | 1392 KiB | 13 Q