Skip to content

Commit b562d57

Browse files
authored
Automatically regenerate the files
1 parent 5bf4aed commit b562d57

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

generated/iconv.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,17 @@ function iconv_set_encoding(string $type, string $encoding): void
5959

6060

6161
/**
62-
* Performs a character set conversion on the string
63-
* string from from_encoding
62+
* Converts string from from_encoding
6463
* to to_encoding.
6564
*
66-
* @param string $from_encoding The input charset.
67-
* @param string $to_encoding The output charset.
65+
* @param string $from_encoding The current encoding used to interpret string.
66+
* @param string $to_encoding The desired encoding of the result.
6867
*
69-
* If you append the string //TRANSLIT to
70-
* to_encoding transliteration is activated. This
68+
* If the string //TRANSLIT is appended to
69+
* to_encoding, then transliteration is activated. This
7170
* means that when a character can't be represented in the target charset,
72-
* it can be approximated through one or several similarly looking
73-
* characters. If you append the string //IGNORE,
71+
* it may be approximated through one or several similarly looking
72+
* characters. If the string //IGNORE is appended,
7473
* characters that cannot be represented in the target charset are silently
7574
* discarded. Otherwise, E_NOTICE is generated and the function
7675
* will return FALSE.

generated/mbstring.php

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,25 @@ function mb_chr(int $codepoint, string $encoding = null): string
3535

3636

3737
/**
38-
* Converts the character encoding of string
39-
* to to_encoding
40-
* from optionally from_encoding.
38+
* Converts string from from_encoding,
39+
* or the current internal encoding, to to_encoding.
4140
* If string is an array, all its string values will be
4241
* converted recursively.
4342
*
44-
* @param string|array $string The string or array being encoded.
45-
* @param string $to_encoding The type of encoding that string is being converted to.
46-
* @param mixed $from_encoding Is specified by character code names before conversion. It is either
47-
* an array, or a comma separated enumerated list.
48-
* If from_encoding is not specified, the internal
49-
* encoding will be used.
43+
* @param string|array $string The string or array to be converted.
44+
* @param string $to_encoding The desired encoding of the result.
45+
* @param mixed $from_encoding The current encoding used to interpret string.
46+
* Multiple encodings may be specified as an array or comma separated
47+
* list, in which case the correct encoding will be guessed using the
48+
* same algorithm as mb_detect_encoding.
5049
*
50+
* If from_encoding is NULL or not specified, the
51+
* mbstring.internal_encoding setting
52+
* will be used if set, otherwise the default_charset setting.
5153
*
52-
* See supported
53-
* encodings.
54+
* See supported encodings
55+
* for valid values of to_encoding
56+
* and from_encoding.
5457
* @return string|array The encoded string or array on success.
5558
* @throws MbstringException
5659
*

0 commit comments

Comments
 (0)