Stephane Drouard wrote:
For sure I can't answer to your question, but why would you only implement it
to construtors?

That's where I think it is most needed. The other magic methods are already less important but if there is an agreement to this I could also whip a patch together for those. I just try to go step by step.


Because PHP won't implement such a base class, I don't think it's interresting
> to be able to call parent::__construct() without error. Just provide your base
> class to do so.


I disagree. I think it's silly to force people to provide a base class just for this. And I think parent::__construct() covers at least 80%.

IMHO PHP doesn't need to be perfect in an academic OO sense but needs to provide what the majority of users need.

- Chris

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to