Hello,
I have have other results with my configuration,
PHP 5.1.2 (cli) (built: Mar 2 2006 23:02:55)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Xdebug v2.0.0beta5, Copyright (c) 2002, 2003, 2004, 2005, by
Derick Rethans
array
0 =>
array
'chunk_size' => 4096
'type' => 1
'status' => 0
'name' => 'default output handler' (length=22)
'del' => true
array
0 =>
array
'chunk_size' => 4096
'type' => 1
'status' => 0
'name' => 'default output handler' (length=22)
'del' => true
Both times status is 0
greetings, ff
----- Original Message -----
From: "Duong-Khang NGUYEN" <neoneurone[@]users.sourceforge.net>
To: <xdebug-general[@]lists.xdebug.org>
Sent: Sunday, April 09, 2006 10:49 AM
Subject: [xdebug-general] XDebug output buffer bug ?
> 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 - 14:44:45 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST