Re: __constructor parameter limitations.
| From: | Pierre Joye | Date: | Sun, 18 Sep 2011 15:17:28 +0000 |
| Subject: | Re: __constructor parameter limitations. | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55500@lists.php.net to get a copy of this message | ||
On Sun, Sep 18, 2011 at 5:09 PM, Derick Rethans <derick@php.net> wrote:
> 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.
Well, that won't help for fatal error, which is what's this discussion
is all about, or almost :)
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org