3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.53 ms | 1392 KiB | 13 Q