Question: Which key will not be displayed from the following code block?
<?php
$array = array('a' => 'John',
'b' => 'Coggeshall',
'c' => array('d' => 'John',
'e' => 'Smith'));
function display($item, $key) {
print "$key => $item\n";
}
array_walk_recursive($array, "display");
?>
<?php
$array = array('a' => 'John',
'b' => 'Coggeshall',
'c' => array('d' => 'John',
'e' => 'Smith'));
function display($item, $key) {
print "$key => $item\n";
}
array_walk_recursive($array, "display");
?>
A
B
C
D
E
d
B
c
C
b
D
a
E
They all will be displayed
Note: Not available