PHP array_values() Function is used to get all value of array. PHP array_values() function is PHP built-in function.
Syntax :
array_values(array $array);
Parameter,
$array : Required. It is input array.
Return : It returns array containing all values of an array. The returned array will have numeric keys which is starting at 0 and increase by 1.
Let's see below example to understand php array_values() Function in details.
Comments