3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.54 ms | 1394 KiB | 15 Q