3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = []; var_dump( @$arr['foo'], $arr['foo'], (string)null );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PSGO8
function name:  (null)
number of ops:  12
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'var_dump'
    4     2        BEGIN_SILENCE                                    ~2      
          3        FETCH_DIM_R                                      ~3      !0, 'foo'
          4        END_SILENCE                                              ~2
          5        SEND_VAL                                                 ~3
    5     6        FETCH_DIM_R                                      ~4      !0, 'foo'
          7        SEND_VAL                                                 ~4
    6     8        CAST                                          6  ~5      null
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                                 
    7    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.64 ms | 1394 KiB | 15 Q