Function __global->array_column

Definitions

sources_custom/phpstub.php

  • Return the values from a single column in the input array.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$input array required parameter N/A N/A A multi-dimensional array or an array of objects from which to pull a column of values from
$column_key mixed required parameter N/A N/A The column of values to return
$index_key ?mixed Null N/A N/A The column to use as the index/keys for the returned array (null: numeric sequential indices)

Return

  • Collapsed values
  • Type: array
  • Set: N/A
  • Range: N/A