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
rfc:short_ternary_equal_operator [2016/03/24 15:46] – Open voting and reword title from "equal" to "assignment" pollitarfc:short_ternary_equal_operator [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2016-03-10   * Date: 2016-03-10
   * Author: Sara Golemon <pollita@php.net> (Heavily cribbed from Midori Kocak <mtkocak@gmail.com>)   * Author: Sara Golemon <pollita@php.net> (Heavily cribbed from Midori Kocak <mtkocak@gmail.com>)
-  * Status: Voting+  * Status: Under Discussion
   * First Published at: http://wiki.php.net/rfc/short_ternary_equal_operator   * First Published at: http://wiki.php.net/rfc/short_ternary_equal_operator
  
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 =====
Line 30: Line 34:
 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?" auth="pollita" voteType="single" closed="false">+<doodle title="Approve Short Ternary Assignment Operator RFC and merge oatch into master?" auth="pollita" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
 </doodle> </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.1458834382.txt.gz · Last modified: 2017/09/22 13:28 (external edit)