3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = ''; $read = $array['a']['b']; var_dump($array, $read);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2MOec
function name:  (null)
number of ops:  9
compiled vars:  !0 = $array, !1 = $read
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, ''
    4     1        FETCH_DIM_R                                          ~3      !0, 'a'
          2        FETCH_DIM_R                                          ~4      ~3, 'b'
          3        ASSIGN                                                       !1, ~4
    6     4        INIT_FCALL                                                   'var_dump'
          5        SEND_VAR                                                     !0
          6        SEND_VAR                                                     !1
          7        DO_ICALL                                                     
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.06 ms | 3416 KiB | 14 Q