Re: [RFC] [Discussion] Retry functionality
| From: | Ivan Enderlin | Date: | Mon, 19 Jun 2017 14:24:15 +0000 |
| Subject: | Re: [RFC] [Discussion] Retry functionality | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99547@lists.php.net to get a copy of this message | ||
Hello :-),
Thank you for the RFC. I have a question though. I would like to know how is it different from the
goto language construction?
If I understand it correctly, both the following examples are identical:
try {
// …} catch (…) {
retry;} and: try { retry:
// …} catch (…) {
goto retry;} Also, what happens if the
try block keeps failing over and over again: This is a non-breakable loop.
Thank you for your feedbacks :-).
Cheers.
On 19.06.17 15:55, Sammy Kaye Powers wrote:
Hello internals!
The RFC that proposes adding retry functionality to the
try/catch/finally block is now officially "under discussion".
https://wiki.php.net/rfc/retry-keyword
Voting will open on Monday, July 3rd, 2017 @ 9 am CDT.
Voting will close on Monday, July 17th, 2017 @ 9 am CDT.
Discuss amongst yourselves. :)
Thanks,
Sammy Kaye Powers
sammyk.me