Re: __constructor parameter limitations.
| From: | Derick Rethans | Date: | Sun, 18 Sep 2011 15:09:18 +0000 |
| Subject: | Re: __constructor parameter limitations. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55498@lists.php.net to get a copy of this message | ||
On Sat, 17 Sep 2011, Stas Malyshev wrote:
> On 9/17/11 6:27 AM, Richard Quadling wrote:
> > With the recent BC with regard the locking of the constructor's
> > signature for subclasses, what is the expected mechanism for allowing
> > a subclass to have additional parameters?
>
> I think the whole "strict parameters" thing has gone into somewhat wrong
> direction and now we seem to have tons of useless errors and restrictions.
If you don't want those warnings, turn them off! That's why there is a
specific error level for it.
Derick