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:47] – Updated to reflect mailing list and pull request feedback. ramseyrfc:array_column [2013/01/11 23:58] ramsey
Line 1: Line 1:
 ====== Request for Comments: array_column ====== ====== Request for Comments: array_column ======
  
-  * Version: 2.0+  * Version: 2.1
   * Date: 2013-01-11   * Date: 2013-01-11
   * Author: Ben Ramsey <ramsey@php.net>   * Author: Ben Ramsey <ramsey@php.net>
Line 11: Line 11:
 This RFC proposes a new array function that returns the values of the specified column from a multi-dimensional array. Inspired by database methods like ''PDOStatement::fetchColumn()'', ''array_column()'' moves useful functionality into the core that once had to be implemented in userland code with sometimes complex loops. This RFC proposes a new array function that returns the values of the specified column from a multi-dimensional array. Inspired by database methods like ''PDOStatement::fetchColumn()'', ''array_column()'' moves useful functionality into the core that once had to be implemented in userland code with sometimes complex loops.
  
-This has been submitted as a [[https://github.com/php/php-src/pull/56|pull request on GitHub]], where there has already been a significant amount of discussion.+This has been submitted as a [[https://github.com/php/php-src/pull/257|pull request on GitHub]], where there has already been a significant amount of discussion.
  
 ===== Specification ===== ===== Specification =====
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]].
  
 ===== Changelog ===== ===== Changelog =====
Line 153: Line 153:
   * 1.0 (2012-06-21): Initial draft, following discussion on on [[https://github.com/php/php-src/pull/56|GitHub Pull Request #56]]   * 1.0 (2012-06-21): Initial draft, following discussion on on [[https://github.com/php/php-src/pull/56|GitHub Pull Request #56]]
   * 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
rfc/array_column.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1