array_valuesPHP ManualPrevNextarray_valuesarray_values -- Return all the values of an arrayDescriptionarray array_values(array input);
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.
PrevHomeNextarray_unshiftUparray_walk
Wyszukiwarka