3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace itertools; $a = []; $a[0] = "foo"; $a['bar'] = "bar"; $a[1] = "baz"; var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FNBuB
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN_DIM                                               !0, 0
          2        OP_DATA                                                  'foo'
    8     3        ASSIGN_DIM                                               !0, 'bar'
          4        OP_DATA                                                  'bar'
    9     5        ASSIGN_DIM                                               !0, 1
          6        OP_DATA                                                  'baz'
   11     7        INIT_NS_FCALL_BY_NAME                                    'itertools%5Cvar_dump'
          8        SEND_VAR_EX                                              !0
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.26 ms | 1394 KiB | 15 Q