rfc:throwable-code-generalization
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:throwable-code-generalization [2016/12/18 09:21] – wesnetmo | rfc:throwable-code-generalization [2017/01/06 17:04] – wesnetmo | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Date: 2016-12-18 | * Date: 2016-12-18 | ||
* Author: Wes (@WesNetmo on Twitter) | * Author: Wes (@WesNetmo on Twitter) | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | Currently '' | + | Currently '' |
+ | |||
+ | As such, code that assumes that the interface always uses '' | ||
===== Proposal ===== | ===== Proposal ===== | ||
- | Allow any type to be used, including objects | + | As this inconsistency is present, this RFC proposes |
+ | |||
+ | Throwables' | ||
+ | |||
+ | Specifically, | ||
* '' | * '' | ||
Line 25: | Line 31: | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | Next minor version, currently | + | 7.2 |
- | ===== Future Scope ===== | + | ===== Voting |
- | Will come in handy when PHP will support structures like '' | + | |
- | ===== Proposed Voting Choices ===== | + | 2/3 majority is required |
- | Accept | + | |
+ | <doodle title="Accept Throwables | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 37: | Line 46: | ||
===== References ===== | ===== References ===== | ||
- | N/A | + | [[http:// |
rfc/throwable-code-generalization.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1