rfc:array_column

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
Next revisionBoth sides next revision
rfc:array_column [2013/01/11 23:58] – Adding link to new pull request ramseyrfc:array_column [2013/01/12 16:45] – Change "0-indexed number" to "integer key" ramsey
Line 1: Line 1:
 ====== Request for Comments: array_column ====== ====== Request for Comments: array_column ======
  
-  * Version: 2.1+  * Version: 2.2
   * Date: 2013-01-11   * Date: 2013-01-11
   * Author: Ben Ramsey <ramsey@php.net>   * Author: Ben Ramsey <ramsey@php.net>
-  * Status: Under Discussion+  * Status: Voting
   * First Published at: http://wiki.php.net/rfc/array_column   * First Published at: http://wiki.php.net/rfc/array_column
  
Line 32: Line 32:
 **columnKey** **columnKey**
  
-> The column of values to return. This value may be the 0-indexed number of the column you wish to retrieve, or it may be the string key name for an associative array.+> The column of values to return. This value may be the integer key of the column you wish to retrieve, or it may be the string key name for an associative array.
  
 **indexKey** **indexKey**
  
-> (Optional.) The column to use as the index/keys for the returned array. This value may be the 0-indexed number of the column, or it may be the string key name.+> (Optional.) The column to use as the index/keys for the returned array. This value may be the integer key of the column, or it may be the string key name.
  
 ==== Return Values ==== ==== Return Values ====
Line 147: Line 147:
 ===== Proposal and Patch ===== ===== Proposal and Patch =====
  
-The patch (including tests) for this proposal is available in [[https://github.com/php/php-src/pull/56|GitHub Pull Request #56]].+The patch (including tests) for this proposal is available in [[https://github.com/php/php-src/pull/257|GitHub Pull Request #257]]. 
 + 
 +===== Mailing list discussion ===== 
 + 
 +The mailing list discussion is available [[http://grokbase.com/t/php/php-internals/126nxxa80p/draft-rfc-array-column-function|here]]. 
 + 
 +===== Voting ===== 
 + 
 +Voting ends not before Friday, January 18, 2013. The PHP language is not changed, so a 50% + 1 majority is required. 
 + 
 +<doodle title="Accept array_column() for inclusion in PHP?" auth="user" voteType="single" closed="false"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
 ===== Changelog ===== ===== Changelog =====
Line 154: Line 167:
   * 2.0 (2013-01-11): Updated to reflect mailing list and pull request feedback.   * 2.0 (2013-01-11): Updated to reflect mailing list and pull request feedback.
   * 2.1 (2013-01-11): Adding link to new pull request: https://github.com/php/php-src/pull/257   * 2.1 (2013-01-11): Adding link to new pull request: https://github.com/php/php-src/pull/257
 +  * 2.2 (2013-01-11): Opened voting
rfc/array_column.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1