diff --git a/reference/intl/grapheme/grapheme-substr.xml b/reference/intl/grapheme/grapheme-substr.xml index e8c247d737..8f6b2619e0 100644 --- a/reference/intl/grapheme/grapheme-substr.xml +++ b/reference/intl/grapheme/grapheme-substr.xml @@ -53,7 +53,7 @@ length of string). If length is given and is negative, then that many grapheme units will be omitted from the end of string (after the start position has been calculated when offset is negative). If offset - denotes a position beyond this truncation, &false; will be returned. + denotes a position beyond this truncation, an empty string will be returned. @@ -69,6 +69,29 @@ + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.0.0 + + The function now consistently clamps out-of-bounds offsets to the string boundary. + Previously, &false; was returned instead of the empty string in some cases. + + + + + + + &reftitle.examples;