Re: Re: Moving SPL into the engine ?
| From: | Brad LaFountain | Date: | Tue, 01 Jul 2003 13:25:28 +0000 |
| Subject: | Re: Re: Moving SPL into the engine ? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3082@lists.php.net to get a copy of this message | ||
--- Andi Gutmans <andi@zend.com> wrote:
> Hi,
>
> It is still not possible to understand from this .diff what the impact on
> the Engine will be because the code it still saturated with copying of code
> from the Engine. My intentation was to review a patch that is ready to be
> commited. You shouldn't have to replace opcodes anymore and you shouldn't
> have to make copies of functions from within Zend.
> Also, does the array overloading stuff allow extension developers like
> Andrei also to hook into this?
I think a callback like __array($index) { } for all objects would be a nice
feature, so Andrei for gtk and spl wouldn't have to overload the opcode for
each application of this. I think it could become a pretty popular feature when
developers see that it can be done.
- Brad
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com