Cheers Bill that helps
Must be an issue with XDebug right?
Installing the extension make the Zend exceptions lovely and pretty but
then htmlentities the zend var_dump.
or Maybe the Zend_Debug needs to check if Xdebug is loaded and not
pretify it within the Zend code and let Xdebug handle it?
Cheers
Ian
Bill Karwin wrote:
Zend_Debug::dump() outputs plain var_dump() output if it detects that
you're running in a cli environment based on the PHP_SAPI superglobal.
You can also tell it that you're running in a cli environment. You can
use this method:
Zend_Debug::setSapi('cli');
Zend_Debug::dump($variable);
There's no reason you should have known that. :-)
I added it for testing purposes.
Regards,
Bill Karwin
-----Original Message-----
From: Ian Warner [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 7:13 AM
To: Zend Framework
Subject: [fw-general] Zend Debug Dump
Hi
When using Zend_Debug::dump since the upgrade --- or maybe
since installing XDEBUG the output now seems to have HTML
entties applied so I
get:
How do I get it back to be a pretty output ?
Cheers
Ian
<pre>
<b>array</b>
'translate_module' <font color='#888a85'>=></font>
<b>object</b>(<i>Zend_Translate</i>)[<i>29</i>]
<i>private</i> '_adapter' <font color='#888a85'>=></font>
<b>object</b>(<i>Zend_Translate_Adapter_Gettext</i>)[<i>28</i>]
<i>private</i> '_bigEndian' <font
color='#888a85'>=></font> <small>boolean</small> <font
color='#75507b'>false</font>
<i>private</i> '_file' <font
color='#888a85'>=></font> <b>resource</b>(<i>152</i><font
color='#2e3436'>,</font> <i>stream</i>)
<i>protected</i> '_locale' <font
color='#888a85'>=></font> <small>string</small> <font
color='#cc0000'>'en'</font> <i>(length=2)</i>
<i>protected</i> '_languages' <font
color='#888a85'>=></font>
<b>array</b>
...
<i>protected</i> '_options' <font
color='#888a85'>=></font>
<b>array</b>
...
<i>protected</i> '_translate' <font
color='#888a85'>=></font>
<b>array</b>
...
'theme' <font color='#888a85'>=></font>