3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.5 ms | 1394 KiB | 17 Q