rfc:short_ternary_equal_operator

Differences

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

Link to this comparison view

Next revision
Previous revision
rfc:short_ternary_equal_operator [2016/03/11 02:58] – created pollitarfc:short_ternary_equal_operator [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== PHP RFC: Null Coalesce 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.1457665102.txt.gz · Last modified: 2017/09/22 13:28 (external edit)