Re: bool values and increment operators?
| From: | Andrey Andreev | Date: | Mon, 25 Mar 2019 15:43:08 +0000 |
| Subject: | Re: bool values and increment operators? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104939@lists.php.net to get a copy of this message | ||
Hi,
On Mon, Mar 25, 2019 at 5:09 PM Chase Peeler <chasepeeler@gmail.com> wrote:
>
> 1.) Update the documentation to add booleans to the second list
> 2.) Update the documentation to remove the second list - anything not in
> the first list is not affected.
> 3.) Update the language so that ++ and -- cast booleans to ints.
>
4.) Emit warnings in those cases?
I don't see a problem with how it currently works, but I do see a
problem with it being silent.
Cheers,
Andrey.