cvs: /phpdoc/functions strings.sgml
| From: | Andrei Zmievski | Date: | Thu, 28 Oct 1999 16:58:57 +0000 |
| Subject: | cvs: /phpdoc/functions strings.sgml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11987@lists.php.net to get a copy of this message | ||
andrei Thu Oct 28 12:58:57 1999 EDT
Modified files:
/phpdoc/functions strings.sgml
Log:
Added docs for str_repeat().
Index: phpdoc/functions/strings.sgml
diff -u phpdoc/functions/strings.sgml:1.18 phpdoc/functions/strings.sgml:1.19
--- phpdoc/functions/strings.sgml:1.18 Wed Oct 20 18:41:42 1999
+++ phpdoc/functions/strings.sgml Thu Oct 28 12:58:56 1999
@@ -1484,6 +1484,35 @@
</refsect1>
</refentry>
+ <refentry id="function.str_repeat">
+ <refnamediv>
+ <refname>str_repeat</refname>
+ <refpurpose>Repeat a string</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>string <function>str_repeat</function></funcdef>
+ <paramdef>string <parameter>input</parameter></paramdef>
+ <paramdef>int <parameter>multiplier</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ Returns <parameter>input_str</parameter> repeated
+ <parameter>multiplier</parameter> times.
+ <parameter>multiplier</parameter> has to be greater than 0.
+ <example>
+ <title><function>str_repeat</function> example</title>
+ <programlisting>
+echo str_repeat("-=", 10);
+ </programlisting>
+
+ This will output "-=-=-=-=-=-=-=-=-=-=".
+ </example>
+ </para>
+ </refsect1>
+ </refentry>
+
+
<refentry id="function.strrev">
<refnamediv>
<refname>strrev</refname>