Arrays
Get a full recursive dump of arrays with each value highlighted according to its
type. Mixing objects and arrays is supported. Maximum recursion depth is
set to 10 by default. Arrays can be folded by clicking on the Array
-Label.
Clicking on the closing bracket will highlight the opening bracket.
visit HLI#X
1. pre($array) type: array
in builder\plugins\arrayDump.php on line 19 6 return;
7 }
8 echo $head
9 ?>
10 <p>
11 Get a full recursive dump of arrays with each value highlighted according to its
12 type. Mixing objects and arrays is supported. Maximum recursion depth is
13 set to 10 by default. Arrays can be folded by clicking on the <q>Array</q>-Label.
14 Clicking on the closing bracket will highlight the opening bracket.
15 </p>
16 <?php
17 hli('maxDumpLevel',3);
18 $array = array('STRING',1.2, array('key' => 'intern', 3));
19 pre($array);
20 pre(array_reverse($array));
21 ?>
22 <p>
23 Using this command you can force the array to be displayed folded, and you can
24 reduce the depth to which dump will run recursively:
25 </p>
26 <div class="code">hli('startWithHiddenBlocks',true);
27 hli('maxDumpLevel',3);</div>
28 <?php
29 hli('startWithHiddenBlocks',true);
− Array (
0 => 'STRING',
1 => 1.2,
2 => − Array (
'key' => 'intern',
0 => 3
)
)
/
*** global scope ***
visit HLI#X
2. pre(array_reverse($array)) type: array
in builder\plugins\arrayDump.php on line 20 7 }
8 echo $head
9 ?>
10 <p>
11 Get a full recursive dump of arrays with each value highlighted according to its
12 type. Mixing objects and arrays is supported. Maximum recursion depth is
13 set to 10 by default. Arrays can be folded by clicking on the <q>Array</q>-Label.
14 Clicking on the closing bracket will highlight the opening bracket.
15 </p>
16 <?php
17 hli('maxDumpLevel',3);
18 $array = array('STRING',1.2, array('key' => 'intern', 3));
19 pre($array);
20 pre(array_reverse($array));
21 ?>
22 <p>
23 Using this command you can force the array to be displayed folded, and you can
24 reduce the depth to which dump will run recursively:
25 </p>
26 <div class="code">hli('startWithHiddenBlocks',true);
27 hli('maxDumpLevel',3);</div>
28 <?php
29 hli('startWithHiddenBlocks',true);
30 hli('maxDumpLevel',3);
− Array (
0 => − Array (
'key' => 'intern',
0 => 3
),
1 => 1.2,
2 => 'STRING'
)
/
*** global scope ***
Using this command you can force the array to be displayed folded, and you can
reduce the depth to which dump will run recursively:
hli('startWithHiddenBlocks',true);
hli('maxDumpLevel',3);
visit HLI#X
3. pre(array('hier',array('dort','so[…]) type: array
in builder\plugins\arrayDump.php on line 3118 $array = array('STRING',1.2, array('key' => 'intern', 3));
19 pre($array);
20 pre(array_reverse($array));
21 ?>
22 <p>
23 Using this command you can force the array to be displayed folded, and you can
24 reduce the depth to which dump will run recursively:
25 </p>
26 <div class="code">hli('startWithHiddenBlocks',true);
27 hli('maxDumpLevel',3);</div>
28 <?php
29 hli('startWithHiddenBlocks',true);
30 hli('maxDumpLevel',3);
31 pre(array('hier',array('dort','sonstwo'=>array('anderswo'))),array('hier',array('d),\'),ort\\')));
32 ?>
33 <?php
34 echo foot()
35 ?>
− Array (
0 => 'hier',
1 => + Array (
0 => 'dort',
'sonstwo' => + Array (
*** max depth ***
)
)
)
/
*** global scope ***
visit HLI#X
4. pre(array('hier',array('d),\'),ort\\'))) type: array
− Array (
0 => 'hier',
1 => + Array (
0 => 'd),\'),ort\'
)
)
/