<?php
$items = array(
'main' => array(
'label' => ('MENU'),
'entries'=> array('dash1'=>
array('label'=>'Dashboard 1',
'icon' => 'fas fa-wallet'),
'dash2'=>
array('label'=> 'Dashboard 2',
'icon' => 'fas fa-tachometer-alt'),
'dash3'=>
array('label'=> 'Dashboard 3',
'icon' => 'fas fa-tachometer-alt')
)
)
);
$new_items=array('newdash'=>array('label'=>'New Dashboard',
'icon' => 'fas fa-wallet'
)
) ;
$items['main']['entries']['newdash'] = $new_items['newdash'];
print_r($items);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/FHZTT
function name: (null)
number of ops: 11
compiled vars: !0 = $items, !1 = $new_items
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
18 1 ASSIGN !1, <array>
23 2 FETCH_DIM_R ~7 !1, 'newdash'
3 FETCH_DIM_W $4 !0, 'main'
4 FETCH_DIM_W $5 $4, 'entries'
5 ASSIGN_DIM $5, 'newdash'
6 OP_DATA ~7
25 7 INIT_FCALL 'print_r'
8 SEND_VAR !0
9 DO_ICALL
10 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
138.11 ms | 998 KiB | 14 Q