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