rfc:non-capturing_catches
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:non-capturing_catches [2020/04/06 08:39] – grmbl maxsem | rfc:non-capturing_catches [2020/04/07 14:45] – maxsem | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PHP RFC: Your Title Here ====== | + | ====== PHP RFC: non-capturing catches |
* Version: 0.9 | * Version: 0.9 | ||
* Date: 2020-04-05 | * Date: 2020-04-05 | ||
* Author: Max Semenik < | * Author: Max Semenik < | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 39: | Line 39: | ||
===== Prior art ===== | ===== Prior art ===== | ||
+ | Such change was first proposed in [[https:// | ||
+ | <code php> | ||
+ | try { | ||
+ | foo(); | ||
+ | } catch { | ||
+ | bar(); | ||
+ | } | ||
+ | </ | ||
+ | Meanwhile what I'm proposing here has received mostly positive feedback so I feel it's worth revisiting. | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
Line 53: | Line 62: | ||
===== Proposed Voting Choices ===== | ===== Proposed Voting Choices ===== | ||
- | Include these so readers know where you are heading and can discuss the proposed voting options. | + | Yes/no. |
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 66: | Line 75: | ||
===== References ===== | ===== References ===== | ||
- | Links to external references, discussions or RFCs | + | * https:// |
===== Rejected Features ===== | ===== Rejected Features ===== | ||
Keep this updated with features that were discussed on the mail lists. | Keep this updated with features that were discussed on the mail lists. |
rfc/non-capturing_catches.txt · Last modified: 2020/05/26 14:39 by maxsem