Hi,
I'm not sure if this is a bug or this behaviour is wanted like this (witch I doubt very much), but I thought I post it here and save time in case someone else got the same problem:
When using the "normal" dump, everything works fine:
$fb->dump("variablename",$variable); // <-- this works fineChanging key and variable by mistake or missing the key:
$fb->dump($variable,"variablename"); // <-- output can break
$fb->dump($variable); // <-- output can break
This bug occurs when the first parameter (Key) has CRLF line breaks (win format) inside, CR line breaks (linux format) are totally ignored.
BTW: an easy way to dump simple variables INCLUDING their line breaks (e.g. sql queries are unreadable without them) somewhere in the konsole output would be a nice feature. Currently I need to push a $query into an $array[] to be able to view it with line breaks in the variable viewer.
best greets
FoTo50
PS.: according to the header, I'm using following User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 FirePHP/0.3
PHP-Version is 5.2.9