For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2006 > cvs: phpdoc /en/reference/strings/functions strlen.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/strings/functions strlen.xml
Philip Olson

2006-07-31, 9:57 pm

philip Tue Aug 1 02:00:03 2006 UTC

Modified files:
/phpdoc/en/reference/strings/functions strlen.xml
Log:
WS, preparation for the new doc style
# Doing just one file from ref.strings for now, am doing a test


http://cvs.php.net/viewvc.cgi/phpdo...6&diff_format=u
Index: phpdoc/en/reference/strings/functions/strlen.xml
diff -u phpdoc/en/reference/strings/functions/strlen.xml:1.5 phpdoc/en/reference/strings/functions/strlen.xml:1.6
--- phpdoc/en/reference/strings/functions/strlen.xml:1.5 Sat Jul 24 05:26:39 2004
+++ phpdoc/en/reference/strings/functions/strlen.xml Tue Aug 1 02:00:03 2006
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
-<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
- <refentry id="function.strlen">
- <refnamediv>
- <refname>strlen</refname>
- <refpurpose>Get string length</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>int</type><methodname>strlen</methodname>
- <methodparam><type>string</type><parameter>string</parameter></methodparam>
- </methodsynopsis>
- <para>
- Returns the length of the given <parameter>string</parameter>.
- </para>
- <para>
- <example>
- <title>A <function>strlen</function> example</title>
- <programlisting role="php">
+<!-- $Revision: 1.6 $ -->
+<refentry id="function.strlen">
+ <refnamediv>
+ <refname>strlen</refname>
+ <refpurpose>Get string length</refpurpose>
+ </refnamediv>
+
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>int</type><methodname>strlen</methodname>
+ <methodparam><type>string</type><parameter>string</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Returns the length of the given <parameter>string</parameter>.
+ </para>
+ <para>
+ <example>
+ <title>A <function>strlen</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$str = 'abcdef';
@@ -28,14 +28,14 @@
echo strlen($str); // 7
?>
]]>
- </programlisting>
- </example>
- </para>
- <para>
- See also <function>count</function>, and <function>mb_strlen</function>.
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ </para>
+ <para>
+ See also <function>count</function>, and <function>mb_strlen</function>.
+ </para>
+ </refsect1>
+</refentry>

<!-- Keep this comment at the end of the file
Local variables:
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com