The problem is that JSON does not support associative arrays. See ticket http://framework.zend.com/issues/browse/ZF-4159
I am working on a solution but do not have a timeline yet.
Thanks for reporting your use-case. I have added a comment to the ticket.
Christoph
Jan Pieper wrote:
Hi guys,
today I tried to use the new Zend_Log_Writer_Firebug and it works fine, but there is something irritating. If you log something like this:
# $logger->log(array('data' => array(0 => 1)), Zend_Log::DEBUG);
Firebug will show:
# array(['data'] => 1)
It is because the given array will be encoded to {'data':[1]} and [] is no associated array but I think the result is something "completely" different.
# array('data' => array(0 => 1)) != array('data' => 1)
Is there a chance to get it fixed or is it a Firebug issue?
Regards,
Jan Pieper
--
| Christoph Dorn | |
| http://www.ChristophDorn.com/ | |
