Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically regenerate the files #340

Merged
merged 1 commit into from
Apr 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions generated/iconv.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
25 changes: 14 additions & 11 deletions generated/mbstring.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down