From 2deb2006781a1569156026e51fff3e5de5b5a9f3 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Sun, 4 Sep 2011 23:44:00 +0000 Subject: [PATCH] document grapheme_substr() fix git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316123 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/intl/grapheme/grapheme-substr.xml | 33 +++++++++++++++++++-- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/reference/intl/grapheme/grapheme-substr.xml b/reference/intl/grapheme/grapheme-substr.xml index e55ace6d44..d204392ff6 100644 --- a/reference/intl/grapheme/grapheme-substr.xml +++ b/reference/intl/grapheme/grapheme-substr.xml @@ -50,11 +50,10 @@ Length in grapheme units. If $length is given and is positive, the string returned will contain at most $length grapheme units beginning from $start (depending on the - length of string). If $string is less than or equal to $start grapheme - units long, FALSE will be returned. If $length is given and is negative, then + 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 a start is negative). If $start - denotes a position beyond this truncation, an empty string will be returned. + denotes a position beyond this truncation, &false; will be returned. @@ -70,6 +69,34 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.4 + + If length is given and positive and the + argument string is shorter than the specified length, all the rest of + the string according to start parameter is + returned. Previously, &false; was returned. + + + + + + + + + &reftitle.examples;