array_values

It return all the values of an array

Example

<?php
echo “<pre>”;
$array = array(“PHP”, “ASP”);
print_r(array_values($array));
?>

Output

Array
(
[0] => PHP
[1] => ASP
)