Re: RFC: Marking return values as important (#[\NoDiscard])
| From: | Tim Düsterhus | Date: | Fri, 31 Jan 2025 11:07:33 +0000 |
| Subject: | Re: RFC: Marking return values as important (#[\NoDiscard]) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126257@lists.php.net to get a copy of this message | ||
Hi
Am 2025-01-30 18:48, schrieb Claude Pache:
BTW, the RFC says that introducing the (void) cast is a backward compatible change, which is incorrect; see: https://3v4l.org/iN7OY
:-| Thank you for pointing that out. We've adjusted the “Backward Incompatible Changes” section accordingly and also changed threshold for the separate vote for the inclusion of (void) from 50%+1 to 2/3 to more accurately reflect the possible impact.
Best regards
Tim Düsterhus