Jump to content

WAMP reformatting my var_dump


ShadowMage
 Share

Recommended Posts

I just tried to use var_dump on a really large array. However, WAMP has reformatted the output to look like this:

<pre class='xdebug-var-dump' dir='ltr'><b>array</b>  0 <font color='#888a85'>=></font> 	<b>array</b>	  0 <font color='#888a85'>=></font> 		<b>array</b>		  0 <font color='#888a85'>=></font> 			<b>array</b>			  ...		  1 <font color='#888a85'>=></font> 			<b>array</b>			  ...

And it continues on like that. I did not edit this code at all. WAMP is inserting the ellipsis. There should be about 5 more levels in the array (if I counted right :)). How do I turn this off?

Link to comment
Share on other sites

is this the issue you are referring to?http://stackoverflow.com/questions/1465645...ebug-is-enablededit: about a quarter of the way down the page there's some info about xdebug and var_dump formattinghttp://devzone.zend.com/article/2803

Edited by thescientist
Link to comment
Share on other sites

I googled....I just wasn't googling the right terms, apparently. :)
I must have just got lucky. I started off looking for var dump stuff and then i noticed some of the xdebug stuff creeping in and noticed it in your post. then I connected the dots! :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...