3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.96 ms | 1398 KiB | 15 Q