Re: RFC: Stop to automatically cast numeric-string to int when using them as array-key
| From: | Stanislav Malyshev | Date: | Wed, 29 Dec 2021 18:11:28 +0000 |
| Subject: | Re: RFC: Stop to automatically cast numeric-string to int when using them as array-key | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-116741@lists.php.net to get a copy of this message | ||
Hi!
I don't think this behavior should be considered as "normal" and would like to propose to change this for PHP 9, as it's a BC-break. To me it can andIt'd not be just a BC break, it'd be an absolutely massive BC break that has a potential to break a ton of code and would be extremely hard to detect. This is not something that should be changed in an advanced version of the language. -- Stas Malyshev smalyshev@gmail.com