Re: Chunked buffered output
| From: | André Langhorst | Date: | Thu, 15 Mar 2001 02:48:05 +0000 |
| Subject: | Re: Chunked buffered output | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-48961@lists.php.net to get a copy of this message | ||
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 ·
· andre@php.net m: +49 173 9558736 ·
* PHP Quality Assurance http://qa.php.net *