3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.44 ms | 1000 KiB | 15 Q