RE: [PHP-DEV] [RFC][VOTE] Default parent constructors RFC

From: Date: Sun, 11 Jan 2015 04:50:15 +0000
Subject: RE: [PHP-DEV] [RFC][VOTE] Default parent constructors RFC
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-80352@lists.php.net to get a copy of this message
> De : Stanislav Malyshev [mailto:smalyshev@gmail.com] > > TLDR: this RFC would make a call to parent::__construct() succeed (as in > "not produce a fatal error") even if the parent class does not define a > ctor. Same for __destruct and __clone. The motivation for it is in the > RFC and here: https://php100.wordpress.com/2014/11/04/default- > constructors/ +1. Considering implicit empty constructors and destructors is totally intuitive and should have been done a long time ago. For __clone, no opinion as I never used it. François

« previous php.internals (#80352) next »