diff --git a/reference/strings/functions/strlen.xml b/reference/strings/functions/strlen.xml index 8c60c66f85..d26a40f8c9 100644 --- a/reference/strings/functions/strlen.xml +++ b/reference/strings/functions/strlen.xml @@ -1,13 +1,13 @@ - + strlen Get string length - - - Description + + + &reftitle.description; intstrlen stringstring @@ -15,6 +15,34 @@ Returns the length of the given string. + + + + &reftitle.parameters; + + + + string + + + The string being measured for length. + + + + + + + + + &reftitle.returnvalues; + + The length of the string on success, + and 0 if the string is empty. + + + + + &reftitle.examples; A <function>strlen</function> example @@ -31,8 +59,15 @@ echo strlen($str); // 7 + + + + &reftitle.seealso; - See also count, and mb_strlen. + + count + mb_strlen +