Stanislav Malyshev schrieb: > Thanks, will look at these. I'm extremely uncomfortable with engine > change that would allow "new Foo" produce an object that is not Foo.
The restriction "A class may only pose as one of its direct or indirect superclasses." I mentioned ensures that "new Foo" can only produce objects that are in an is_a relationship with Foo. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php