PHP array_values() function
The array_values( ) function is an inbuilt function of PHP. It is used to get an array of values from another array that may contain key-value pairs. This function was introduced in PHP 4.0.
The array_values( ) function returns an array containing all the values of an array.
The returned array will have numeric keys, starting at 0 and increase by 1.
Array (  =>javatpoint  =>udemy  =>byjus )
Array (  => apple  => ball  => cat )
Array (  =>mario  => need for speed  =>igi  => road race )
Array (  =>Narendramodi  => 67  => INDIA )
Next TopicPHP Array Functions