3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.62 ms | 1394 KiB | 15 Q