On Tue, 28 Mar 2023 at 08:29, Tim Düsterhus <t...@bastelstu.be> wrote:

> 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-semantics
>
> The "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
>

I've reordered the example and added a more descriptive ASCII code point
range example first!

I've also added an example which highlights the behaviour with null and how
it would emits deprecation notices.

Best regards,

George P. Banyard

Reply via email to