3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ['a'=>333, 'b'=>222]; /*$y = array_key_exists('a', $x);*/ $y = isset($x['a']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o9rd3
function name:  (null)
number of ops:  4
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      !0, 'a'
          2        ASSIGN                                                   !1, ~3
          3      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.55 ms | 1392 KiB | 13 Q