I\'d like to see the colors and formatting that can come with var_dump. 开发者_StackOverflowIn my php.ini html_errors is set to On. This is confirmed by phpinfo().
I have installed xdebug on my computer with windows and it works fine by default - traces are colorfull and pretty but on another computer with ubuntu 10.10 its colourless and without any formatting.
My text strings behaves very strange when printing them. They all come from parsing a website with help of DOMDocuments. I have used DOMNode::nodeValue to get the parsed texts.
I\'ve just been running some simple debug tests against arrays, and noticed that when I do a var_dump() of an array, the output is flagging any element in the array that is referenced by another varia
When I var_dump an开发者_开发技巧 object, the output looks like this: object(XCTemplate)#2477 (4) {
I used var_dump on an object in my code. print var_dump( $$user); result: object(stdClass)#35 (1) { [\"user1_ready\"]=>string(1) \"0\" } How do I get to this value (0 in this case).
I\'m having this problem with validating a document that contains some basic PHP variables. Mainly I\'m using html\'s h1, h2, and pre codes for formatting the text.
I\'m having some issue with var_dump.i\'m using xampp 1.7.3 on windows. I think in previous version i could output a variable with var_dump without print \"<pre>\" print \"</pre>\" firebu
EDIT: (UPDATED) Maybe my question was not clear enough. Ok, lets put it this way: $arr[\"a\"] = 10; var_dump($arr);
I have xdebug configured as shown below but the error-output is totally unreadable. Do you have an idea what\'s wrong with the setup?