3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = false; $a = fopen('http://example.org', 'r'); array_key_exists($a, get_defined_vars()); array($$a); fclose($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GaKVB
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <false>
    3     1        INIT_FCALL                                               'fopen'
          2        SEND_VAL                                                 'http%3A%2F%2Fexample.org'
          3        SEND_VAL                                                 'r'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    4     6        INIT_FCALL                                               'get_defined_vars'
          7        DO_ICALL                                         $4      
          8        ARRAY_KEY_EXISTS                                 ~5      !0, $4
          9        FREE                                                     ~5
    5    10        FETCH_R                      local               ~6      !0
         11        INIT_ARRAY                                       ~7      ~6
         12        FREE                                                     ~7
    6    13        INIT_FCALL                                               'fclose'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.1 ms | 1394 KiB | 19 Q