On Wed, Feb 22, 2017 at 2:18 PM, Michał <aaat...@o2.pl> wrote:
> a(string $test=null) // incorrect type, should throw error
>
> There is no reason, except of backwards compatibility, to keep this
> behaviour. It's too late to change this in 7.1, maybe even in 7.2. But, what
> is Your opinion? Should it be preserved or fixed?

My opinion is that it is far too early to try to change it in any way.
Maybe in PHP version 8.0 we could add an E_DEPRECATED or E_STRICT but
it's far too early to do anything in the 7.X series.

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

Reply via email to