Re: [Request][Discussion] Double value as array key improvement
| From: | Christoph M. Becker | Date: | Sun, 13 Aug 2017 19:02:21 +0000 |
| Subject: | Re: [Request][Discussion] Double value as array key improvement | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100206@lists.php.net to get a copy of this message | ||
On 13.08.2017 at 20:39, Andrew Nester wrote:
> 11 авг. 2017 г., в 15:53, Andrew Nester <newaltgroup@bk.ru> написал(а):
>
>> Here is the alternative solution which emits E_WARNING in case of integer array index
>> overflow.
>> https://github.com/php/php-src/pull/2677
>
> My preferred solution is 2nd one (emitting warning) as it more obvious for users, doesn't
> break previous behaviour.
+1
--
Christoph M. Becker