Re: [patch] Callbacks bug/change request
| From: | Etienne Kneuss | Date: | Wed, 30 May 2007 20:49:50 +0000 |
| Subject: | Re: [patch] Callbacks bug/change request | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29967@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
I hope this one better fits your requirements. Regards 1: http://patches.colder.ch/Zend/callbacks_5_2.patch?markup -- Etienne Kneuss http://www.colder.ch colder@php.net Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- PascalEG(scope) is used by zend_u_fetch_class to get the parent/current class, I'm only altering it temporarily before zend_u_fetch_class and restore it after that, no harm done.I was speaking about 5.2 patch, didn't check the HEAD one. Oh, I see now what you mean. I ported the patch to 5_2 with the assumption that zend_lookup_class also used EG(scope), but in fact it doesn't. I updated the patch[1] which now directly uses calling_scope/ce_org instead of the current scope for parent/self resolution.