From ceb2059213c30f9e27652281790335ff068791bd Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Sun, 2 Nov 2003 18:51:44 +0000 Subject: [PATCH] Initial documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143615 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/iconv/functions/iconv-strlen.xml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/reference/iconv/functions/iconv-strlen.xml b/reference/iconv/functions/iconv-strlen.xml index 782dfd13e8..8e2a8cb95a 100644 --- a/reference/iconv/functions/iconv-strlen.xml +++ b/reference/iconv/functions/iconv-strlen.xml @@ -1,11 +1,11 @@ - + iconv_strlen - Returns the character count of str + Returns the character count of string @@ -15,9 +15,20 @@ stringstr stringcharset - - &warn.undocumented.func; - + + Returns the character count of string. + + + In contrast to strlen, the return value of + iconv_strlen is the number of characters that occur + in the given byte sequence string, which is not + necessarily the same as the byte length of the string. + + + If charset parameter is omitted, + string will be assumed to be encoded in + iconv.internal_charset. +