translate associative array into array of values php code example Example: php transform associative array to array $array = array_values($array);