mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
WS, preparation for the new doc style
# Doing just one file from ref.strings for now, am doing a test git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217365 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7e88eabba0
commit
03becc40ac
1 changed files with 28 additions and 28 deletions
|
@ -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 @@ $str = ' ab cd ';
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue