Re: RFC: Stop to automatically cast nu meric-string to int when using them as array-key
| From: | Rowan Tommins | Date: | Mon, 03 Jan 2022 15:48:19 +0000 |
| Subject: | Re: RFC: Stop to automatically cast nu meric-string to int when using them as array-key | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-116775@lists.php.net to get a copy of this message | ||
On 3 January 2022 15:41:48 GMT, Chase Peeler <chasepeeler@gmail.com> wrote:
>But "001" casted to 1 will then get casted back to "1" not "001".
"001" would not be cast to an integer in this context: https://3v4l.org/gGFHJ
Regards,
--
Rowan Tommins
[IMSoP]