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. <function>array_values</function> example "XL", "color" => "gold"); print_r(array_values($array)); ?> ]]> This will output: XL [1] => gold ) ]]> See also array_keys.