Re: Class Posing
| From: | Marcus Boerger | Date: | Wed, 03 Oct 2007 14:59:15 +0000 |
| Subject: | Re: Class Posing | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32593@lists.php.net to get a copy of this message | ||
Hello Stanislav,
new Foo will still return a Foo instance!
marcus
Wednesday, October 3, 2007, 12:00:12 AM, you wrote:
>> Problem is the cost of setting up these, by registering implementations,
>> performing reflection and so on is expensive especially considering the
>> stateless nature of PHP.
> Thanks, will look at these. I'm extremely uncomfortable with engine
> change that would allow "new Foo" produce an object that is not Foo.
> --
> Stanislav Malyshev, Zend Software Architect
> stas@zend.com http://www.zend.com/
> (408)253-8829 MSN: stas@zend.com
Best regards,
Marcus