Hi!

> Since there is no reason not to call parent ctor, maybe PHP should
> somehow make every class have default empty ctor, if it doesn't have
> one defined already - so you can write automatically
> parent::__construct() everywhere?

I completely agree with you, that's why I submitted
https://wiki.php.net/rfc/default_ctor. Unfortunately, it was rejected.

-- 
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