3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! function func(&$val) { } $a = array(); func($a['x']['x']['x']); var_dump($a);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/AIjO0
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   7     1        ASSIGN                                                   !0, <array>
   8     2        INIT_FCALL                                               'func'
         3        FETCH_DIM_W                                      $2      !0, 'x'
         4        FETCH_DIM_W                                      $3      $2, 'x'
         5        FETCH_DIM_W                                      $4      $3, 'x'
         6        SEND_REF                                                 $4
         7        DO_FCALL                                      0          
   9     8        INIT_FCALL                                               'var_dump'
         9        SEND_VAR                                                 !0
        10        DO_ICALL                                                 
        11      > RETURN                                                   1

Function func:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/AIjO0
function name:  func
number of ops:  2
compiled vars:  !0 = $val
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   RECV                                             !0      
   5     1      > RETURN                                                   null

End of function func

Generated using Vulcan Logic Dumper, using php 7.2.0