3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.43 ms | 478 KiB | 10 Q