rfc:reserve_even_more_types_in_php_7

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:reserve_even_more_types_in_php_7 [2015/03/14 19:55] – Prepare for voting to open tomorrow along with Levi's reservation proposal pollitarfc:reserve_even_more_types_in_php_7 [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 5: Line 5:
     * Heavily cribbed from Levi Morrison <levim@php.net>     * Heavily cribbed from Levi Morrison <levim@php.net>
     * https://wiki.php.net/rfc/reserve_more_types_in_php_7)     * https://wiki.php.net/rfc/reserve_more_types_in_php_7)
-  * Status: Under Discussion+  * Status: Partially Accepted (in PHP 7.0)
   * First Published at: http://wiki.php.net/rfc/reserve_even_more_types_in_php_7   * First Published at: http://wiki.php.net/rfc/reserve_even_more_types_in_php_7
  
Line 39: Line 39:
   * add union types, such as ''int|false''   * add union types, such as ''int|false''
  
-===== Proposed Voting Choices =====+===== Result ===== 
 + 
 +The following class names are now **reserved**: 
 + 
 +  * "resource" 
 +  * "object" 
 +  * "mixed" 
 +  * "numeric" 
 + 
 +The following class names have **not** been reserved: 
 + 
 +  * "scalar" 
 + 
 +===== Vote =====
 The vote will be a simple "yes" or "no": do you vote in favor of reserving these type names? The vote will be a simple "yes" or "no": do you vote in favor of reserving these type names?
  
 This RFC requires at least two thirds of the votes for a given type name to be "yes" to pass, and also requires the passage of https://wiki.php.net/rfc/reserve_more_types_in_php_7 or one of the ScalarTypeHints RFC (which implicitly reserve the base types by using them). This RFC requires at least two thirds of the votes for a given type name to be "yes" to pass, and also requires the passage of https://wiki.php.net/rfc/reserve_more_types_in_php_7 or one of the ScalarTypeHints RFC (which implicitly reserve the base types by using them).
  
-<doodle title="Reserved Type: resource" auth="pollita" voteType="single" closed="true">+<doodle title="Reserved Type: resource" auth="pollita" voteType="single" closed="True">
    * Yes    * Yes
    * No    * No
Line 51: Line 64:
 . .
  
-<doodle title="Reserved Type: scalar" auth="pollita" voteType="single" closed="true">+<doodle title="Reserved Type: scalar" auth="pollita" voteType="single" closed="True">
    * Yes    * Yes
    * No    * No
Line 58: Line 71:
 . .
  
-<doodle title="Reserved Type: object" auth="pollita" voteType="single" closed="true">+<doodle title="Reserved Type: object" auth="pollita" voteType="single" closed="True">
    * Yes    * Yes
    * No    * No
Line 65: Line 78:
 . .
  
-<doodle title="Reserved Type: mixed" auth="pollita" voteType="single" closed="true">+<doodle title="Reserved Type: mixed" auth="pollita" voteType="single" closed="True">
    * Yes    * Yes
    * No    * No
Line 72: Line 85:
 . .
  
-<doodle title="Reserved Type: numeric" auth="pollita" voteType="single" closed="true">+<doodle title="Reserved Type: numeric" auth="pollita" voteType="single" closed="True">
    * Yes    * Yes
    * No    * No
 </doodle> </doodle>
 +
 +Voting opened on 2015-03-15 and will end on the later of 2015-03-29 or the close of all currently open Scalar Type Hint votes and Levi's scalar types reservation RFCs.
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
 There is currently no implementation. There is currently no implementation.
  
rfc/reserve_even_more_types_in_php_7.1426362922.txt.gz · Last modified: 2017/09/22 13:28 (external edit)