Re: cvs: php4 /ext/standard streamsfuncs.c
| From: | Moriyoshi Koizumi | Date: | Sat, 19 Apr 2003 11:04:22 +0000 |
| Subject: | Re: cvs: php4 /ext/standard streamsfuncs.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-20382@lists.php.net to get a copy of this message | ||
Wez Furlong <wez@thebrainroom.com> wrote:
> The purpose of stream_copy_to_stream() is just that; copy data from one
> stream to another, with an optional length constraint.
>
> I don't like the idea of overloading copy() to do this, and I don't like
> overloading stream_copy_to_stream() to work like copy().
>
> If we keep these functions simple, there is less that can go wrong :)
Your words have been drawn out as I expected :)
Hm, yes, I agree with you Wez, I don't see that big plus to bring such a
feature onto stream_copy_to_stream().
Moriyoshi