rfc:remove_hex_support_in_numeric_strings
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:remove_hex_support_in_numeric_strings [2015/01/03 19:38] – nikic | rfc:remove_hex_support_in_numeric_strings [2015/01/28 21:57] – Implemented nikic | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Date: 2014-08-19 | * Date: 2014-08-19 | ||
* Author: Nikita Popov < | * Author: Nikita Popov < | ||
- | * Status: | + | * Status: |
- | * Target version: | + | |
===== Introduction ===== | ===== Introduction ===== | ||
Line 11: | Line 10: | ||
PHP internally has two primary methods from converting strings into numbers: | PHP internally has two primary methods from converting strings into numbers: | ||
- | The first, and most commonly used, are direct casts to the integer or float types ('' | + | The first, and most commonly used, are direct casts to the integer or float types ('' |
<code php> | <code php> | ||
Line 39: | Line 38: | ||
var_dump(' | var_dump(' | ||
- | var_dump((int) ' | + | var_dump((int) ' |
</ | </ | ||
Line 66: | Line 65: | ||
===== Vote ===== | ===== Vote ===== | ||
+ | |||
+ | As this is a language change a 2/3 majority is required. | ||
+ | |||
+ | The vote started on 2015-01-17 and ends on 2015-01-27. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
rfc/remove_hex_support_in_numeric_strings.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1