Hi all,
Following the earlier discussion of adding decrement for strings to
complement the existing alphanumeric increment feature, I've written a
proposal to normalize the behaviour across boolean and null values.
https://wiki.php.net/rfc/normalize_inc_dec
Based on some earlier comments, boolean and null values can be treated in
two distinct way, both of which are demonstrated in the rfc; I'm hoping
that before voting takes place we can eliminate one voting option
altogether.
It also aims to deprecate string-based increments using ++; instead, it
would introduce str_inc() and str_dec() as a regular function.
Let me know your thoughts.
--
--
Tjerk