rfc:short_ternary_equal_operator

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
Last revisionBoth sides next revision
rfc:short_ternary_equal_operator [2016/03/11 04:45] pierrickrfc:short_ternary_equal_operator [2016/03/25 03:41] – Switch to "Under Discussion", add link to implementation, clear old votes (by renaming vote) pollita
Line 1: Line 1:
-====== PHP RFC: Short ternary Equal Operator ======+====== PHP RFC: Short ternary Assignment Operator ======
   * Version: 0.1.0   * Version: 0.1.0
   * Date: 2016-03-10   * Date: 2016-03-10
Line 25: Line 25:
  
 This proposed for the next PHP 7.x. This proposed for the next PHP 7.x.
 +
 +===== Patches and Tests ====
 +
 +https://github.com/php/php-src/compare/master...sgolemon:short-ternary.coalesce
  
 ===== Vote ===== ===== Vote =====
  
 As this is a language change, a 2/3 majority is required. A straight Yes/No vote is being held. As this is a language change, a 2/3 majority is required. A straight Yes/No vote is being held.
 +
 +<doodle title="Approve Short Ternary Assignment Operator RFC and merge oatch into master?" auth="pollita" voteType="single" closed="true">
 +   * Yes
 +   * No
 +</doodle>
 +
 +On 2016-03-24 vote was closed a few hours after opening (at 9:3 in favor)  due to issues with the proposed implementation.  It will be reopened at a later time (with a fresh vote).
  
 ===== References ===== ===== References =====
  
 This is essentially the same proposal as https://wiki.php.net/rfc/null_coalesce_equal_operator with a focus on the short ternary operator, rather than the null coalesce operator. This is essentially the same proposal as https://wiki.php.net/rfc/null_coalesce_equal_operator with a focus on the short ternary operator, rather than the null coalesce operator.
rfc/short_ternary_equal_operator.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1