3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = false; $a = fopen('http://example.com'); 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/fVfui
function name:  (null)
number of ops:  16
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.com'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'get_defined_vars'
          6        DO_ICALL                                         $4      
          7        ARRAY_KEY_EXISTS                                 ~5      !0, $4
          8        FREE                                                     ~5
    5     9        FETCH_W                      local               $6      !0
         10        INIT_ARRAY                                       ~7      $6
         11        FREE                                                     ~7
    6    12        INIT_FCALL                                               'fclose'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.62 ms | 1394 KiB | 19 Q