array_values
Return all the values of an array
Description
arrayarray_values
arrayinput
array_values returns all the values from the
input array and indexes numerically the
array.
array_values example
"XL", "color" => "gold");
print_r(array_values ($array));
]]>
This will output:
XL
[1] => gold
)
]]>
This function was added to PHP 4, below is an implementation for
those still using PHP 3.
Implementation of array_values for PHP 3
users
See also array_keys.