[xdebug-general] XDebug output buffer bug ?

From: Duong-Khang NGUYEN <neoneurone[@]users.sourceforge.net>
Date: Sun, 9 Apr 2006 10:49:51 +0200

Hi there,

I'm using XDebug for my project with the following configuration:

Zend Engine: v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
    with Xdebug v2.0.0beta5, Copyright (c) 2002, 2003, 2004, 2005, by Derick
Rethans

php.ini:
        [xdebug]
        zend_extension="/usr/local/lib/php/extensions/xdebug.so"
        xdebug.profiler_enable=1
        xdebug.profiler_output_dir="/tmp"

When the script is processed for a while, with the following 2 lines of PHP
code, I've got 2 different output buffer status:

PHP code:
        var_dump(ob_get_status(true));
        var_dump(ob_get_status(true));

Output:
array(1) {
  [0]=>
  array(5) {
    ["chunk_size"]=>
    int(4096)
    ["type"]=>
    int(1)
    ["status"]=>
    int(0)
    ["name"]=>
    string(22) "default output handler"
    ["del"]=>
    bool(true)
  }
}
array(1) {
  [0]=>
  array(5) {
    ["chunk_size"]=>
    int(4096)
    ["type"]=>
    int(1)
    ["status"]=>
    int(1)
    ["name"]=>
    string(22) "default output handler"
    ["del"]=>
    bool(true)
  }
}

As you can see, the output buffer's status has changed between two lines !
When I disable the Xdebug extension in php.ini, I don't encounter this
problem any more.

If you require more information to debug this, just drop me a line.

Cya.

-- 
Regards.
http://www.opencity.info
Received on Sun Apr 09 2006 - 10:39:59 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST