Re: [RFC][VOTE] Default parent constructors RFC
| From: | Pascal Martin, AFUP | Date: | Sat, 24 Jan 2015 15:13:26 +0000 |
| Subject: | Re: [RFC][VOTE] Default parent constructors RFC | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81076@lists.php.net to get a copy of this message | ||
Le 11/01/2015 01:34, Stanislav Malyshev a écrit :
I'd like to initiate a vote on this RFC: https://wiki.php.net/rfc/default_ctor Hi,After discussing this RFC with other people of AFUP, we would be +1 on this, by a small margin. On one side, being able to always call a parent constructor without having to check if it exists could be useful, especially when the parent class is in a library. On the other hand, it feels like the current situation doesn't cause problems that often; and if a constructor is added to a parent class, it will likely expect specific parameters, which means child classes will need to be updated anyway. -- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/