3v4l.org

run code in 300+ PHP versions simultaneously
<?php $something = array(); $something['non-existent'] = & $something['non-existent']; var_export(is_array($something['non-existent']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/huvbr
function name:  (null)
number of ops:  11
compiled vars:  !0 = $something
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_W                                      $3      !0, 'non-existent'
          2        MAKE_REF                                         $4      $3
          3        FETCH_DIM_W                                      $2      !0, 'non-existent'
          4        ASSIGN_REF                                               $2, $4
    6     5        INIT_FCALL                                               'var_export'
          6        FETCH_DIM_R                                      ~6      !0, 'non-existent'
          7        TYPE_CHECK                                  128  ~7      ~6
          8        SEND_VAL                                                 ~7
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.45 ms | 1394 KiB | 15 Q