I have the following line of code:
var_dump(array());
In one file, it outputs this:
array (size=0) empty
In the second file, it outputs this:
string '<pre class='xdebug-var-dump' dir='ltr'> <b>array</b> <i>(size=0)</i> <i><font color='#888a85'>empty</font></i> </pre>' (length=119)
Any ideas what causes this in the second file? When I look at the rendering markup source of the second file, I see the following:
<pre class='xdebug-var-dump' dir='ltr'><small>string</small> <font color='#cc0000'>'<pre class='xdebug-var-dump' dir='ltr'> <b>array</b> <i>(size=0)</i> <i><font color='#888a85'>empty</font></i> </pre>'</font> <i>(length=119)</i> </pre>
UPDATE 1: view -> source of first file:
<pre class='xdebug-var-dump' dir='ltr'> <b>array</b> <i>(size=0)</i> <i><font color='#888a85'>empty</font></i> </pre>
php xdebug
StackOverflowNewbie Mar 27 '13 at 18:44 2013-03-27 18:44
source share