3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Array dereferencing: '; echo [1, 2, 3,6, 7][4]; echo "\n"; echo 'String dereferencing: '; echo 'asdfsaDfeeeez'[6]; echo "\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TfLYQ
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'Array+dereferencing%3A+'
    3     1        FETCH_DIM_R                                      ~0      <array>, 4
          2        ECHO                                                     ~0
    4     3        ECHO                                                     '%0A'
    6     4        ECHO                                                     'String+dereferencing%3A+'
    7     5        FETCH_DIM_R                                      ~1      'asdfsaDfeeeez', 6
          6        ECHO                                                     ~1
    8     7        ECHO                                                     '%0A'
    9     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.72 ms | 1392 KiB | 13 Q