ShadowMage Posted March 22, 2011 Share Posted March 22, 2011 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 More sharing options...
thescientist Posted March 22, 2011 Share Posted March 22, 2011 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 Link to comment Share on other sites More sharing options...
ShadowMage Posted March 22, 2011 Author Share Posted March 22, 2011 Aha! Thank you, scientist. That helps big time. I'll have to play around with the settings later, but at least I know where to look now! :)Thanks! Link to comment Share on other sites More sharing options...
ShadowMage Posted March 22, 2011 Author Share Posted March 22, 2011 Just had to add this line:xdebug.overload_var_dump = offto php.ini to disable the formatting.Thanks again, scientist! Link to comment Share on other sites More sharing options...
thescientist Posted March 22, 2011 Share Posted March 22, 2011 gicgtfy.... (glad I could google that for you) Link to comment Share on other sites More sharing options...
ShadowMage Posted March 22, 2011 Author Share Posted March 22, 2011 gicgtfy.... (glad I could google that for you) I googled....I just wasn't googling the right terms, apparently. Link to comment Share on other sites More sharing options...
jeffman Posted March 22, 2011 Share Posted March 22, 2011 I may be wrong, but I don't see "gicgtfy" taking off any time soon. Link to comment Share on other sites More sharing options...
ShadowMage Posted March 22, 2011 Author Share Posted March 22, 2011 I may be wrong, but I don't see "gicgtfy" taking off any time soon. It is rather difficult to pronounce..... Link to comment Share on other sites More sharing options...
thescientist Posted March 23, 2011 Share Posted March 23, 2011 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.