I think that var_export()
, the forgotten brother of var_dump()
has the best output - it's more compact:
echo "";
var_export($menue);
echo "
";
By the way: it's not allway necessary to use
. var_dump()
and var_export()
are already formatted when you take a look in the source code of your webpage.