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

Next revision
Previous revision
rfc:reserve_even_more_types_in_php_7 [2015/02/20 17:51] – created pollitarfc:reserve_even_more_types_in_php_7 [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 2: Line 2:
   * Version: 1.0   * Version: 1.0
   * Date: 2015-02-20   * Date: 2015-02-20
-  * Author: Sara Golemon <pollita@php.net> (Heavily cribbed from Levi Morrison <levim@php.net>https://wiki.php.net/rfc/reserve_more_types_in_php_7) +  * Author: Sara Golemon <pollita@php.net> 
-  * Status: Under Discussion+    * Heavily cribbed from Levi Morrison <levim@php.net> 
 +    * https://wiki.php.net/rfc/reserve_more_types_in_php_7) 
 +  * 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 37: 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 to be "yes" to pass, and also requires the passage of https://wiki.php.net/rfc/reserve_more_types_in_php_7 +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"> 
 +   * Yes 
 +   * No 
 +</doodle> 
 + 
 +
 + 
 +<doodle title="Reserved Type: scalar" auth="pollita" voteType="single" closed="True"> 
 +   * Yes 
 +   * No 
 +</doodle> 
 + 
 +
 + 
 +<doodle title="Reserved Type: object" auth="pollita" voteType="single" closed="True"> 
 +   * Yes 
 +   * No 
 +</doodle> 
 + 
 +
 + 
 +<doodle title="Reserved Type: mixed" auth="pollita" voteType="single" closed="True"> 
 +   * Yes 
 +   * No 
 +</doodle> 
 + 
 +
 + 
 +<doodle title="Reserved Type: numeric" auth="pollita" voteType="single" closed="True"> 
 +   * Yes 
 +   * No 
 +</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.1424454682.txt.gz · Last modified: 2017/09/22 13:28 (external edit)