3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = ''; var_dump($foo['bar']);
based on cjq16
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/6hhJ5
function name:  (null)
number of ops:  6
compiled vars:  !0 = $foo
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, ''
   4     1        INIT_FCALL                                               'var_dump'
         2        FETCH_DIM_R                                      $2      !0, 'bar'
         3        SEND_VAR                                                 $2
         4        DO_ICALL                                                 
         5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0