Re: zend_stream_fixup
| From: | Wez Furlong | Date: | Sun, 13 Mar 2005 15:01:31 +0000 |
| Subject: | Re: zend_stream_fixup | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15416@lists.php.net to get a copy of this message | ||
On Sun, 13 Mar 2005 11:10:20 +0200 (IST), Stanislav Malyshev
<stas@zend.com> wrote:
> WF>>The point is that you associate the approprite methods with the file
> WF>>handle at the time you set it to STREAM.
>
> I think we started to go in circles or you not paying attention what I
> actually ask. Once more: I KNOW and I UNDERSTAND why you have these two
> handlers for streams (php_stream *). I do not understand why do you use
> the same thing for FPs (once more for FILE *, not for php_stream *!) -
> provided that the only function that actually benefits from it is
> zend_stream_read and it is not overridable.
Read the code again; the read function is assigned along with the type
and pointer.
--Wez.