[RFC] Trailing Boolean Operators
| From: | Len Woodward | Date: | Tue, 03 Feb 2026 19:05:47 +0000 |
| Subject: | [RFC] Trailing Boolean Operators | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-129996@lists.php.net to get a copy of this message | ||
Hi everyone,
I think I've got this RFC into the expected state needed to announce it and
open discussion.
Trailing Boolean Operators
<https://wiki.php.net/rfc/trailing_boolean_operators>
If the link doesn't work, here's the raw url:
https://wiki.php.net/rfc/trailing_boolean_operators
The TL;DR is that we allow what I'm calling a 'dangling' ('optional' might
be the better word) trailing boolean operator. Mirroring trailing commas.
It's designed to be a purely additive QoL improvement to help reduce diffs.
I'm both excited and anxious to see what you all think of it.
Cheers,
Len