3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'moo'; var_dump(array_key_exists('foo', get_defined_vars()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RNcWD
function name:  (null)
number of ops:  8
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'moo'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'get_defined_vars'
          3        DO_ICALL                                         $2      
          4        ARRAY_KEY_EXISTS                                 ~3      'foo', $2
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.58 ms | 1394 KiB | 17 Q