Sara Golemon kirjoitti:
Attached is a patch which exports an internals hook in zend_class_entry
for fetching function pointers similar to the object hook get_method()
available to instance methods.
This patch also exports a userspace hook __call_static() which operates
in the fashion of the
Jani Taskinen schrieb:
As long as you MFH, I don't mind.
Yeah, I would love to have this in PHP_5_2, too. :)
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69
--
PHP Internals - PHP Runtime
I'm afraid this change is binary incompatible - it changes class
structure, which is in use by extensions. So you'd need 5.3 for that.
Sebastian Bergmann wrote:
Jani Taskinen schrieb:
As long as you MFH, I don't mind.
Yeah, I would love to have this in PHP_5_2, too. :)
--
Stanislav
And there is no reason not to release 5.3 is there?
I'd also like to MFH the namespace patch for PHP 5.
well, that's topic for another discussion, I just wanted to remind that
it can't be in PHP_5_2.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
And there is no reason not to release 5.3 is there?
I'd also like to MFH the namespace patch for PHP 5.
--Jani
Stanislav Malyshev kirjoitti:
I'm afraid this change is binary incompatible - it changes class
structure, which is in use by extensions. So you'd need 5.3 for that.
Sebastian
Thomas Moenicke wrote:
This is actually a very good idea. I had to put a hook into the opcode handler
for static method calls to get the same result which is not really elegant. I
was waiting for this feature for a couple month.
Also I found out that the names of the static methods are already
Attached is a patch which exports an internals hook in zend_class_entry
for fetching function pointers similar to the object hook get_method()
available to instance methods.
This patch also exports a userspace hook __call_static() which operates
in the fashion of the current __call() magic