On 2 Jun 2008, at 11:20, 何顺 wrote:
> I succeed in installed xdebug before and it's natural.but I found a
> question just now.I can confirm from phpinfo() that xdebug has been
> installed,in normal case,the var_dump information should be
> multicolor and more comprehensible, but I found it's same to which
> not load the xdebug extension when I var_dump some variables in php,
> following is my configure:
> php.ini:
> [xdebug]
> zend_extension_ts="G:\local\php524\ext\php_xdebug-2.0.3-5.2.5.dll"
> xdebug.auto_trace=on
> xdebug.collect_params=on
> xdebug.collect_return=on
> xdebug.trace_output_dir="G:\local\pecl\xdebug_tmp"
> xdebug.profiler_enable=on
> xdebug.profiler_output_dir="G:\local\pecl\xdebug_tmp"
> xdebug.trace_output_name = "%R"
> ;xdebug.profiler_output_name = "%R_%t.txt"
> xdebug.profiler_output_name = "performance%R.txt"
>
> test.php:
> <?php
> $arr = array(1,2);
> var_dump($arr);
> ?>
> output following:
> array(2) {
> [0]=>
> int(1)
> [1]=>
> int(2)
> }
> this is no any difference when loaded xdebug then not before :(
> what's the matter? thanks.
>
If you're running it on a CLI, it doesn't add colour etc. You could
also add a line to your php.ini:
xdebug.default_enable = On
Marcus
-- Marcus Bointon marcus@bointon.com | http://marcus.bointon.com/Received on Mon Jun 02 2008 - 13:12:40 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST