array_values() function returns an array containing all of the values constituting the input array.
//Its syntax is: array array_values(array array)
<?
$great_wines = array ("A" => "a","Q" => "q","E" => "e");
$great_labels = array_values($great_wines);
print_r($great_labels) ;
?>
Related examples in the same category