3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
11.52 ms | 407 KiB | 7 Q