Hi!

> I'm thinking primarily of the benefit to base or abstract classes.  For

Both can have constructors.

> base classes which expect certain properties be set, they are exposed to
> the danger of remaining unset if the derived class overrides the
> constructor without calling the parent.

You should always call the parent ctor. There's pretty much no reason to
ever not to call parent ctor.

-- 
Stas Malyshev
smalys...@gmail.com

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

Reply via email to