array_values(3) php man page | unix.com

Man Page: array_values

Operating Environment: php

Section: 3

ARRAY_VALUES(3) 							 1							   ARRAY_VALUES(3)

array_values - Return all the values of an array

SYNOPSIS
array array_values (array $array)
DESCRIPTION
array_values(3) returns all the values from the $array and indexes the array numerically.
PARAMETERS
o $array - The array.
RETURN VALUES
Returns an indexed array of values.
EXAMPLES
Example #1 array_values(3) example <?php $array = array("size" => "XL", "color" => "gold"); print_r(array_values($array)); ?> The above example will output: Array ( [0] => XL [1] => gold )
SEE ALSO
array_keys(3). PHP Documentation Group ARRAY_VALUES(3)
Related Man Pages
array_shift(3) - php
array_push(3) - php
array_reverse(3) - php
get_defined_vars(3) - php
array_intersect(3) - php
Similar Topics in the Unix Linux Community
printing all array values using dbx 7.2.1
How to use array values after the loop.
Array values treated as one
How to print array values whose name is inside a variable
Attach variable to array values