Re: Changes to constructor signature checks
| From: | Pierre Joye | Date: | Fri, 18 Nov 2011 11:05:47 +0000 |
| Subject: | Re: Changes to constructor signature checks | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56390@lists.php.net to get a copy of this message | ||
I strongly disagree, this encourages bad practices. We could however
reduce the error level to warning.
On Fri, Nov 18, 2011 at 10:54 AM, Derick Rethans <derick@php.net> wrote:
> On Thu, 17 Nov 2011, Ralph Schindler wrote:
>
>> That said, we really should consider removing this limitation from constructor
>> signature checking. Not only is it a BC break, it doesn't make sense in the
>> context of PHP.
>
> I agree, we should not be having that check for constructors based on
> the points you raised.
>
> cheers,
> Derick
>
> --
> http://derickrethans.nl |
> http://xdebug.org
> Like Xdebug? Consider a donation: http://xdebug.org/donate.php
> twitter: @derickr and @xdebug
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org