diff --git a/reference/mbstring/functions/mb-check-encoding.xml b/reference/mbstring/functions/mb-check-encoding.xml index 9b810df6c4..c4095c6bd4 100644 --- a/reference/mbstring/functions/mb-check-encoding.xml +++ b/reference/mbstring/functions/mb-check-encoding.xml @@ -10,12 +10,12 @@ &reftitle.description; boolmb_check_encoding - mixedvar&null; - stringencodingmb_internal_encoding() + arraystringnullvalue&null; + stringnullencoding&null; Checks if the specified byte stream is valid for the specified encoding. - If var is of type &array;, all keys and values are + If value is of type &array;, all keys and values are validated recursively. It is useful to prevent so-called "Invalid Encoding Attack". @@ -28,7 +28,7 @@ - var + value The byte stream or &array; to check. If it is omitted, this function checks @@ -66,10 +66,16 @@ + + 8.0.0 + + value and encoding are nullable now. + + 7.2.0 - This function now also accepts an &array; as var. + This function now also accepts an &array; as value. Formerly, only &string;s have been supported. @@ -79,7 +85,6 @@ - - mb_chr @@ -11,8 +10,8 @@ &reftitle.description; stringfalsemb_chr - intcp - stringencoding + intcodepoint + stringnullencoding&null; @@ -26,7 +25,7 @@ &reftitle.parameters; - cp + codepoint @@ -51,6 +50,23 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &mbstring.changelog.encoding-nullable; + + + + + &reftitle.seealso; @@ -62,7 +78,6 @@ - - diff --git a/reference/mbstring/functions/mb-ereg-match.xml b/reference/mbstring/functions/mb-ereg-match.xml index 5f272ed9b7..31635aa5d0 100644 --- a/reference/mbstring/functions/mb-ereg-match.xml +++ b/reference/mbstring/functions/mb-ereg-match.xml @@ -12,7 +12,7 @@ boolmb_ereg_match stringpattern stringstring - stringoption"msr" + stringnulloptions&null; A regular expression match for a multibyte string @@ -40,7 +40,7 @@ - option + options The search option. See mb_regex_set_options for explanation. @@ -60,6 +60,28 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + options is nullable now. + + + + + + + &reftitle.notes; @@ -77,7 +99,6 @@ - - mb_ord @@ -11,8 +10,8 @@ &reftitle.description; intfalsemb_ord - stringstr - stringencoding + stringstring + stringnullencoding&null; @@ -26,7 +25,7 @@ &reftitle.parameters; - str + string @@ -51,6 +50,23 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &mbstring.changelog.encoding-nullable; + + + + + &reftitle.seealso; @@ -62,7 +78,6 @@ - - mb_scrub @@ -11,8 +10,8 @@ &reftitle.description; stringmb_scrub - stringstr - stringencoding + stringstring + stringnullencoding&null; @@ -26,7 +25,7 @@ &reftitle.parameters; - str + string @@ -51,8 +50,24 @@ - + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + &mbstring.changelog.encoding-nullable; + + + + + - - - - - - - - - - - -