Re: Don't silence chr function arguments error
| From: | Gabriel Caruso | Date: | Wed, 08 May 2019 19:33:53 +0000 |
| Subject: | Re: Don't silence chr function arguments error | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105648@lists.php.net to get a copy of this message | ||
Em seg, 29 de abr de 2019 às 13:01, Sara Golemon <pollita@php.net> escreveu:
> On Mon, Apr 29, 2019 at 2:37 AM Nikita Popov <nikita.ppv@gmail.com> wrote:
>
>> > The idea is to merge in PHP-7.4, but if there's a consensus that this
>>> > should go into PHP 8 only, so it is :)
>>> >
>>> > Technically a BC break, so 8.0 would be the preferred branch IMO.
>>>
>>
>> As this would be a TypeError on 8.0, I think it might make sense to
>> introduce it in 7.4 where this is still a warning (and should keep the
>> current "\0" return value in that case -- just make it throw a warning).
>>
>> Sounds good to me.
>
If there's no objection, I'll be merging this change during the weekend :)