3v4l.org

run code in 300+ PHP versions simultaneously
<?php const ARR = array(1,2,3); echo ARR[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vjFO1
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CONST                                            'ARR', <array>
    3     1        FETCH_CONSTANT                                   ~0      'ARR'
          2        FETCH_DIM_R                                      ~1      ~0, 0
          3        ECHO                                                     ~1
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.43 ms | 1396 KiB | 13 Q