philip          Tue Aug  1 02:23:17 2006 UTC

  Modified files:              
    /phpdoc/en/reference/strings/functions      strlen.xml 
  Log:
  Implemented the new doc style and some rewording where appropriate
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/strlen.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/strings/functions/strlen.xml
diff -u phpdoc/en/reference/strings/functions/strlen.xml:1.6 
phpdoc/en/reference/strings/functions/strlen.xml:1.7
--- phpdoc/en/reference/strings/functions/strlen.xml:1.6        Tue Aug  1 
02:00:03 2006
+++ phpdoc/en/reference/strings/functions/strlen.xml    Tue Aug  1 02:23:17 2006
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
 <refentry id="function.strlen">
  <refnamediv>
   <refname>strlen</refname>
   <refpurpose>Get string length</refpurpose>
  </refnamediv>
- 
- <refsect1>
-  <title>Description</title>
+
+ <refsect1 role="description">
+  &reftitle.description;
   <methodsynopsis>
    <type>int</type><methodname>strlen</methodname>
    <methodparam><type>string</type><parameter>string</parameter></methodparam>
@@ -15,6 +15,34 @@
   <para>
    Returns the length of the given <parameter>string</parameter>.
   </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    <varlistentry>
+     <term><parameter>string</parameter></term>
+     <listitem>
+      <para>
+       The <type>string</type> being measured for length.
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   The length of the <parameter>string</parameter> on success, 
+   and <literal>0</literal> if the <parameter>string</parameter> is empty.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
   <para>
    <example>
     <title>A <function>strlen</function> example</title>
@@ -31,8 +59,15 @@
     </programlisting>
    </example>
   </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+  &reftitle.seealso;
   <para>
-   See also <function>count</function>, and <function>mb_strlen</function>.
+   <simplelist>
+    <member><function>count</function></member>
+    <member><function>mb_strlen</function></member>
+   </simplelist>
   </para>
  </refsect1>
 </refentry>

Reply via email to