diff --git a/generated/iconv.php b/generated/iconv.php index eda7faaf..7b28b496 100644 --- a/generated/iconv.php +++ b/generated/iconv.php @@ -59,18 +59,17 @@ function iconv_set_encoding(string $type, string $encoding): void /** - * Performs a character set conversion on the string - * string from from_encoding + * Converts string from from_encoding * to to_encoding. * - * @param string $from_encoding The input charset. - * @param string $to_encoding The output charset. + * @param string $from_encoding The current encoding used to interpret string. + * @param string $to_encoding The desired encoding of the result. * - * If you append the string //TRANSLIT to - * to_encoding transliteration is activated. This + * If the string //TRANSLIT is appended to + * to_encoding, then transliteration is activated. This * means that when a character can't be represented in the target charset, - * it can be approximated through one or several similarly looking - * characters. If you append the string //IGNORE, + * it may be approximated through one or several similarly looking + * characters. If the string //IGNORE is appended, * characters that cannot be represented in the target charset are silently * discarded. Otherwise, E_NOTICE is generated and the function * will return FALSE. diff --git a/generated/mbstring.php b/generated/mbstring.php index 76321f6f..49622015 100644 --- a/generated/mbstring.php +++ b/generated/mbstring.php @@ -35,22 +35,25 @@ function mb_chr(int $codepoint, string $encoding = null): string /** - * Converts the character encoding of string - * to to_encoding - * from optionally from_encoding. + * Converts string from from_encoding, + * or the current internal encoding, to to_encoding. * If string is an array, all its string values will be * converted recursively. * - * @param string|array $string The string or array being encoded. - * @param string $to_encoding The type of encoding that string is being converted to. - * @param mixed $from_encoding Is specified by character code names before conversion. It is either - * an array, or a comma separated enumerated list. - * If from_encoding is not specified, the internal - * encoding will be used. + * @param string|array $string The string or array to be converted. + * @param string $to_encoding The desired encoding of the result. + * @param mixed $from_encoding The current encoding used to interpret string. + * Multiple encodings may be specified as an array or comma separated + * list, in which case the correct encoding will be guessed using the + * same algorithm as mb_detect_encoding. * + * If from_encoding is NULL or not specified, the + * mbstring.internal_encoding setting + * will be used if set, otherwise the default_charset setting. * - * See supported - * encodings. + * See supported encodings + * for valid values of to_encoding + * and from_encoding. * @return string|array The encoded string or array on success. * @throws MbstringException *