[RFC] Guard statement
| From: | Pavel Patapau | Date: | Sat, 16 May 2020 09:13:50 +0000 |
| Subject: | [RFC] Guard statement | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-110174@lists.php.net to get a copy of this message | ||
Hello everyone,
I want to propose new syntax addition - guard statement, that executes code only if expression equals false and must contain control-flow changing code, and written a respective RFC:
https://wiki.php.net/rfc/guard_statement
<https://wiki.php.net/rfc/unbundle_xmlprc>
Implementation in progress.
I started work before this proposal https://externals.io/message/110107 and respected some moments in the RFC.
Thanks for consideration,
Pavel