derick Sun Jun 2 12:58:29 2002 EDT
Modified files:
/phpdoc/en/reference/strings/functions str-repeat.xml
Log:
- Fix for bug #17561
Index: phpdoc/en/reference/strings/functions/str-repeat.xml
diff -u phpdoc/en/reference/strings/functions/str-repeat.xml:1.3
phpdoc/en/reference/strings/functions/str-repeat.xml:1.4
--- phpdoc/en/reference/strings/functions/str-repeat.xml:1.3 Mon May 13 22:51:46
2002
+++ phpdoc/en/reference/strings/functions/str-repeat.xml Sun Jun 2 12:58:29
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.str-repeat">
<refnamediv>
@@ -16,7 +16,9 @@
<para>
Returns <parameter>input_str</parameter> repeated
<parameter>multiplier</parameter> times.
- <parameter>multiplier</parameter> has to be greater than 0.
+ <parameter>multiplier</parameter> has to be greater than or equal to 0.
+ If the <parameter>multiplier</parameter> is set to 0, the function will
+ return an empty string.
</para>
<example>
<title><function>str_repeat</function> example</title>