Re: [RFC] Default constructors
| From: | Alexander Lisachenko | Date: | Tue, 18 Nov 2014 14:54:13 +0000 |
| Subject: | Re: [RFC] Default constructors | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78945@lists.php.net to get a copy of this message | ||
Hi!
2014-11-18 12:20 GMT+03:00 Stanislav Malyshev <smalyshev@gmail.com>:
>
> I'd like to propose the following RFC, which in short would allow any
> method to call parent ctor (and some other methods) even if such is not
> explicitly defined:
+1 for defining base class for all classes and addition of default
constructor implementation in it.
One more example with inconsistent ctors handling via Reflection:
http://3v4l.org/Tjn82