Re: ZendEngine 2
| From: | Wez Furlong | Date: | Tue, 02 Apr 2002 16:16:03 +0000 |
| Subject: | Re: ZendEngine 2 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82029@lists.php.net to get a copy of this message | ||
[Sorry if I am coming in a little late on this one; I've been away for a few
days]
The code in user_streams.c needs a class entry in order to be able to
create an instance of a class; I can't think of a situation where a class
used by user_streams will not have a class entry, since it only applies to
regular native PHP code. Any other kind of object used in this way would
probably be better off implementing the stream wrapper in C code.
I hope I'm not missing something of staggering importance here :-)
--Wez.
On 31/03/02, "Stanislav Malyshev" <stas@zend.com> wrote:
> AG>> As in the Engine 2 overloaded classes don't necessarily have a class entry
> AG>> we have to check out what needs to be done here.
>
> Well, I think classes _do_ have class entry - at least, those we might
> want to use. _Objects_ not necessary have class entry, but classes should
> have one, at least we might reasonably require that classes used as
> protocol handlers would have one in class table. That won't prevent them
> from using overloaded object mechanism - you still can override
> create_object and put any handler table you want in the object. So I think
> that code is completely OK.
>
> --
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php