Ver original$text = "hola qué tal"; $text = strtolower($text); //Reemplazamos caracteres especiales latinos $find = array('á','é','í','ó','ú','ñ'); $repl = array('a','e','i','o','u','n'); $text = str_replace($find,$repl,$text); echo $text;