The array_values function returns all of the values in an array.

    
    $user = array('Name'=>'James Baker', 'username'=>'jamesbaker', 'Age'=>'60');

    $user_values = array_values($user);

    print_r($user_values);
    // Array (
    //    [0] => James Baker
    //    [1] => jamesbaker
    //    [2] => 60
    // )