rfc:nullable-casting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:nullable-casting [2019/03/26 07:51] – reorder, reword guilliamxavier | rfc:nullable-casting [2019/04/09 05:54] – Add link to Annoucement and discussion thread guilliamxavier | ||
---|---|---|---|
Line 4: | Line 4: | ||
* Date: 2019-03-17 | * Date: 2019-03-17 | ||
* Author: David Rodrigues (david.proweb@gmail.com), | * Author: David Rodrigues (david.proweb@gmail.com), | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
Line 15: | Line 15: | ||
===== Motivating Example ===== | ===== Motivating Example ===== | ||
- | In strict type-checking mode (< | + | In strict type-checking mode (< |
<PHP> | <PHP> | ||
Line 167: | Line 167: | ||
* **Accept nullable casting?**: Simple vote (Yes / No), requiring a 2/3 majority to pass. | * **Accept nullable casting?**: Simple vote (Yes / No), requiring a 2/3 majority to pass. | ||
- | * **Additionally accept nullable settype()? | + | * **Additionally accept nullable settype()? |
* **How to handle settype($x, "? | * **How to handle settype($x, "? | ||
+ | |||
+ | (The voting period would be two weeks) | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
Line 176: | Line 178: | ||
===== References ===== | ===== References ===== | ||
- | * [[http:// | + | * PHP Manual: |
- | * [[http:// | + | * PHP RFC: [[rfc: |
- | * [[rfc: | + | |
- | * [[rfc: | + | |
* Initial idea and discussion: https:// | * Initial idea and discussion: https:// | ||
+ | * Annoucement and discussion: https:// |
rfc/nullable-casting.txt · Last modified: 2019/04/21 09:03 by guilliamxavier