array (3) {
0 => string
1 => integer
2 => array (3) {
0 => string
1 => integer
foo => string
}
}
===== Code =====
$value)
{
echo str_repeat(" ", $level + 1), htmlspecialchars($key), " => ";
my_var_dump($value, $level + 1);
}
echo str_repeat(" ", $level), "}\n";
}
else
{
echo gettype($var), "\n";
}
}