3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.04 ms | 1394 KiB | 17 Q