[PHP-DEV] cvs: /phpdoc/functions strings.sgml From: Andrei Zmievski (zmievski <email protected>)
Date: 10/28/99

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>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>