rfc:nullable_returns

Differences

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

Link to this comparison view

Next revision
Previous revision
rfc:nullable_returns [2016/04/14 14:51] – created fsbrfc:nullable_returns [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 36: Line 36:
 ===== Note to the reader ===== ===== Note to the reader =====
  
-The following arguments are based on opinion, experience and conversations. I tried to emphasize this by using first person singual when arguing my opinions and first person plural when referring to experience and opinion shared with my colleages. "We" specifically is not the journalistic "we" that refers to broader populations—it literally mean me and others I know and work with.+The following arguments are based on opinion, experience and conversations. I tried to emphasize this by using first person singular  when arguing my opinions and first person plural when referring to experience and opinion shared with my colleages. "We" specifically is not the journalistic "we" that refers to broader populations—it literally mean me and others I know and work with.
  
  
Line 127: Line 127:
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
  
-We propose a vote on Nullable Return Type Declaration in 7.1 without also Nullable Type arguments or Union Types.+We propose this RFC for discussion as an option among others:
  
-===== Implementation =====+  - Nullable return (this RFC) 
 +  - [[https://wiki.php.net/rfc/nullable_types|Nullable Types]] 
 +  - [[https://wiki.php.net/rfc/union_types|Union Types]] 
 +  - none of the above
  
-I don't have the skills to do this myself. I failed to adapt [[Dmitry's patch for Nullable Types|https://github.com/php/php-src/pull/1045]] although this may be a viable staring point.+We propose to see what transpires in the discussion period before proposing voting choices.
  
-I expect that after a discussion on PHP interbals mailing list a choice can be made between 4 opions for 7.1: 
  
-  - Nullable return (this RFC) +===== Implementation =====
-  - [Nullable type|https://github.com/php/php-src/pull/1045]] +
-  - [[https://wiki.php.net/rfc/union_types|Union Types]] +
-  - None of 1, 2 or 3+
  
-If nullable return is the choice for 7.1 then perhaps a volunteer can be found. Perhaps [[Dmitry's patch for Nullable Types|https://github.com/php/php-src/pull/1045]] can be adapted, although I could not.+I don't have the skills to do this myselfI failed to adapt [[Dmitry's patch for Nullable Types|https://github.com/php/php-src/pull/1045]] although this may be a viable staring point. And haven't yet found a volunteer to help.
  
  
rfc/nullable_returns.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1