Re: Class Posing
| From: | Sebastian Bergmann | Date: | Wed, 03 Oct 2007 05:29:07 +0000 |
| Subject: | Re: Class Posing | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32584@lists.php.net to get a copy of this message | ||
Stanislav Malyshev schrieb:
> lot of implications what have unintended - i.e. how typehints are
> supposed to work with this? How reflection and autoloading would work?
Typehints continue working because of the restriction that applies to
this mechanism (see other mail(s)).
Reflection{Class|Object}($object) does not care how $object has been
created.
__autoload() will be trigger just as before by the new operators inside
the new-handler function (where they are, of course, not overloaded).
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69