array array_values
array_values() returns all the values from the input array.
Example 1. array_values() example
1 2 $array = array("size" => "XL", "color" => "gold"); 3 array_values($array); // returns array("XL", "gold") 4
Note: This function was added in PHP 4.0.