Joey Smith wrote:

> Can I get what you've been using to test chunked buffered output?

sure you can, I just found out that chunked output *seems* to work for 
values from 2 to [?], it puts something out, I do not know how if it 
really was chunked...

crash:
ob_start('strlen',123); // crashes with any value
echo str_repeat('test',5500);
ob_end_flush();

hang:
ob_start('strlens',1);
echo str_repeat('t',4096);
ob_end_flush();

this one adds an additional '0' as you can see, but if you change it to 
"return $string;" it does not do this:

function strlens($string)    {
     return strlen($string);
      }

ob_start('strlens',2048); // seems to work with values from 2 to X
echo str_repeat('t',4096);
ob_end_flush();

andré


-- 
· André Langhorst        t: +49 331 5811560 ·
· [EMAIL PROTECTED]          m: +49 173 9558736 ·
* PHP Quality Assurance  http://qa.php.net  *


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to