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/12 00:14] – Opened voting ramseyrfc:array_column [2013/01/12 16:45] – Change "0-indexed number" to "integer key" ramsey
Line 4: Line 4:
   * 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 ====
rfc/array_column.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1