3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { const FOO = [ 'bar' => [ 'lol' => 42, ], ]; } var_dump(A::FOO['bar']['lol']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4drTO
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_DIM_R                                      ~0      <array>, 'bar'
          2        FETCH_DIM_R                                      ~1      ~0, 'lol'
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.38 ms | 1393 KiB | 15 Q