3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.85 ms | 3384 KiB | 14 Q