Re: [RFC] Define proper semantics for range() function
| From: | Tim Düsterhus | Date: | Tue, 28 Mar 2023 07:29:49 +0000 |
| Subject: | Re: [RFC] Define proper semantics for range() function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119752@lists.php.net to get a copy of this message | ||
Hi
On 3/28/23 00:36, G. P. B. wrote:
I therefore propose the "Define proper semantics for range() function" RFC to address the unintuitive behaviour that sees no usage and/or hide bugs: https://wiki.php.net/rfc/proper-range-semanticsThe "ASCII code point range" example is confusing, because it is a decreasing range. However decreasing ranges are only introduced in the next example. Best regards Tim Düsterhus