rfc:saner-numeric-strings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
rfc:saner-numeric-strings [2020/07/17 12:16]
theodorejb Fix typo
rfc:saner-numeric-strings [2020/08/01 23:37]
carusogabriel RFC was implemented
Line 2: Line 2:
   * Version: 1.4   * Version: 1.4
   * Date: 2020-06-28   * Date: 2020-06-28
 +  * Original Author: Andrea Faulds <ajf@ajf.me>
 +  * Original RFC: [[http://wiki.php.net/rfc/trailing_whitespace_numerics|PHP RFC: Permit trailing whitespace in numeric strings]]
   * Author: George Peter Banyard <girgias@php.net>   * Author: George Peter Banyard <girgias@php.net>
-  * Status: Under Discussion+  * Status: Implemented
   * First Published at: http://wiki.php.net/rfc/saner-numeric-strings   * First Published at: http://wiki.php.net/rfc/saner-numeric-strings
   * Implementation: https://github.com/php/php-src/pull/5762   * Implementation: https://github.com/php/php-src/pull/5762
Line 226: Line 228:
   * Warn on illegal offsets when used within <php>isset()</php> or <php>empty()</php>   * Warn on illegal offsets when used within <php>isset()</php> or <php>empty()</php>
  
-===== Proposed Voting Choices ===== +===== Vote ===== 
-Per the Voting RFC, there would be a single Yes/No vote requiring a 2/3 majority for the main proposal. A secondary Yes/No vote requiring a 50%+1 majority will decide whether float strings used as string offsets should continue to produce a warning (with different wording) instead of consistently becoming a TypeError.+Per the Voting RFC, there is a single Yes/No vote requiring a 2/3 majority for the main proposal. A secondary Yes/No vote requiring a 50%+1 majority will decide whether float strings used as string offsets should continue to produce a warning (with different wording) instead of consistently becoming a TypeError.
  
 Primary vote: Primary vote:
-<doodle title="Accept Saner numeric string RFC proposal" auth="girgias" voteType="single" closed="false">+<doodle title="Accept Saner numeric string RFC proposal" auth="girgias" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 236: Line 238:
  
 Secondary vote: Secondary vote:
-<doodle title="Should valid float strings for string offsets remain a warning" auth="girgias" voteType="single" closed="false">+<doodle title="Should valid float strings for string offsets remain a warning" auth="girgias" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/saner-numeric-strings.txt · Last modified: 2020/11/25 12:46 by girgias