rfc:trailing-comma-function-calls

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
rfc:trailing-comma-function-calls [2017/10/07 18:22] – created sammykrfc:trailing-comma-function-calls [2017/11/04 19:50] – Closed voting sammyk
Line 1: Line 1:
-====== PHP RFC: Allow trailing comma in function calls ======+====== PHP RFC: Allow trailing comma in function calls ======
   * Version: 0.1   * Version: 0.1
-  * Date: 2017-10-06+  * Date: 2017-10-07
   * Author: Sammy Kaye Powers, me@sammyk.me   * Author: Sammy Kaye Powers, me@sammyk.me
-  * Status: Under Discussion+  * Status: Voting
   * First Published at: https://wiki.php.net/rfc/list-syntax-trailing-commas (2017-01-27) & https://wiki.php.net/rfc/trailing-comma-function-args (2013-02-19)   * First Published at: https://wiki.php.net/rfc/list-syntax-trailing-commas (2017-01-27) & https://wiki.php.net/rfc/trailing-comma-function-args (2013-02-19)
  
Line 50: Line 50:
  
 ==== Sending variables to a template engine ==== ==== Sending variables to a template engine ====
-Another extremely common practice is to send a list of variables to a tempalte engine concisely using <php>compact()</php>.+Another extremely common practice is to send a list of variables to a template engine concisely using <php>compact()</php>.
  
 <code php> <code php>
Line 198: Line 198:
  
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
-Requires a 2/3 or 50%+1 majority+Requires a 2/3 majority to pass. Voting begins **2017-10-21 18:30 UTC** and ends **2017-11-04 18:30 UTC**. 
 + 
 +<doodle title="Allow a trailing comma in function calls" auth="sammyk" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
rfc/trailing-comma-function-calls.txt · Last modified: 2017/11/06 14:54 by nikic