rfc:octal.overload-checking
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:octal.overload-checking [2016/04/13 02:36] – created pollita | rfc:octal.overload-checking [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Fix overflow in octal parsing ====== | ====== PHP RFC: Fix overflow in octal parsing ====== | ||
- | * Version: 1.0 | + | * Version: 1.1 |
* Date: 2016-04-12 | * Date: 2016-04-12 | ||
* Author: Sara Golemon < | * Author: Sara Golemon < | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 15: | Line 15: | ||
- Do nothing. | - Do nothing. | ||
- | - Retain the current overflow behavior, but raise a compile-time warning "Octal escape sequence | + | - Retain the current overflow behavior, but raise a compile-time warning "Octal escape sequence |
- Limit octal numbers to \\[0-3]? | - Limit octal numbers to \\[0-3]? | ||
Options 2 and 3 may involve a deprecation/ | Options 2 and 3 may involve a deprecation/ | ||
+ | |||
+ | **Update:** Between minimal comment and a lack of severity of this case. I've opted to initiate a vote for option 2. Produce a compile-time warning about value overflow. | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | Any fix for this overflow | + | |
+ | New compile-time warning is raised on overflow | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
7.1 | 7.1 | ||
- | ===== Proposed Voting Choices | + | ===== Vote ===== |
- | Following a discussion period, a multi option vote will be opened for the above options (mas o menos). | + | |
+ | Required 50% + 1 | ||
+ | \\ Opened: 2016-04-29 21:30 UTC | ||
+ | \\ Closed: 2016-05-13 23:59 UTC | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== References ===== | ===== References ===== | ||
+ | |||
+ | Implementation: | ||
The subject of this RFC is [[https:// | The subject of this RFC is [[https:// | ||
rfc/octal.overload-checking.1460514996.txt.gz · Last modified: 2017/09/22 13:28 (external edit)