Skip to content

Commit

Permalink
Merge pull request #340 from thecodingmachine/create-pull-request/reg…
Browse files Browse the repository at this point in the history
…enerate-files

Automatically regenerate the files
  • Loading branch information
Kharhamel authored Apr 5, 2022
2 parents 5bf4aed + b562d57 commit 7d829ae
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
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

0 comments on commit 7d829ae

Please # to comment.