3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.82 ms | 1394 KiB | 15 Q