(PHP 4 , PHP 5)
array_values() returns all the values from the input array and indexes numerically the array.
Пример 1. array_values() example
<?php$array = array("size" => "XL", "color" => "gold");print_r(array_values($array));?>
This will output:
Array( [0] => XL [1] => gold)
See also array_keys().