Query: array_values
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ARRAY_VALUES(3) 1 ARRAY_VALUES(3) array_values - Return all the values of an arraySYNOPSISarray array_values (array $array)DESCRIPTIONarray_values(3) returns all the values from the $array and indexes the array numerically.PARAMETERSo $array - The array.RETURN VALUESReturns an indexed array of values.EXAMPLESExample #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 ALSOarray_keys(3). PHP Documentation Group ARRAY_VALUES(3)
Related Man Pages |
---|
array_push(3) - php |
array_merge_recursive(3) - php |
array_chunk(3) - php |
array_count_values(3) - php |
array_combine(3) - php |
Similar Topics in the Unix Linux Community |
---|
array values in a command |
Array values treated as one |
Piping Unix Variable Array values into AWK |
Selecting array values |
Assigning array values using awk in shell scripting |