3v4l.org

run code in 300+ PHP versions simultaneously
<?php // A reference can be taken to a key that doesn’t exist within an undefined variable (which becomes an array). Using a non-existent array // normally issues a notice, but this does not. $ref = &$array[$key]; var_dump($array,$ref);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9gn1c
function name:  (null)
number of ops:  7
compiled vars:  !0 = $ref, !1 = $array, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_DIM_W                                      $3      !1, !2
          1        ASSIGN_REF                                               !0, $3
    5     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.26 ms | 1393 KiB | 15 Q