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/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php