> De : Stanislav Malyshev [mailto:smalys...@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


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

Reply via email to