Date: 05/23/00
- Next message: Hartmut Holzgraefe: "[PHPDOC] cvs: phpdoc /de/functions/ regex.xml"
- Previous message: Hartmut Holzgraefe: "[PHPDOC] cvs: phpdoc /en/functions/ regex.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hholzgra Tue May 23 07:27:28 2000 EDT
Modified files:
/phpdoc/de/functions strings.xml regex.xml
Log:
same changes as in english version
Index: phpdoc/de/functions/strings.xml
diff -u phpdoc/de/functions/strings.xml:1.7 phpdoc/de/functions/strings.xml:1.8
--- phpdoc/de/functions/strings.xml:1.7 Sat May 20 07:04:26 2000
+++ phpdoc/de/functions/strings.xml Tue May 23 07:27:28 2000
@@ -460,10 +460,18 @@
<funcdef>array <function>explode</function></funcdef>
<paramdef>string <parameter>separator</parameter></paramdef>
<paramdef>string <parameter>string</parameter></paramdef>
- </funcsynopsis>
+ <paramdef>int <parameter><optional>limit</optional></parameter></paramdef> </funcsynopsis>
<para>
+ Returns an array of strings, each of which is a substring of
+ <parameter>string</parameter> formed by splitting it on boundaries formed
+ by the string <parameter>delim</parameter>.
+ If <parameter>limit</parameter> is set, the returned array will contaion a
+ maximum of <parameter>limit</parameter> elements with the last element
+ containing the whole rest of <parameter>string</parameter>.
Returns an array of strings containing the elements separated by
- <replaceable>separator</replaceable>.
+ <replaceable>separator</replaceable>.
+ </para>
+ <para>
<example>
<title><function>Explode</function> example</title>
<programlisting role="php">
Index: phpdoc/de/functions/regex.xml
diff -u phpdoc/de/functions/regex.xml:1.4 phpdoc/de/functions/regex.xml:1.5
--- phpdoc/de/functions/regex.xml:1.4 Sat May 20 07:04:27 2000
+++ phpdoc/de/functions/regex.xml Tue May 23 07:27:28 2000
@@ -247,12 +247,15 @@
<paramdef>int <parameter><optional>limit</optional></parameter></paramdef>
</funcsynopsis>
<para>
- Returns an array of strings, each of which is a substring of
- string formed by splitting it on boundaries formed by the regular
- expression <parameter>pattern</parameter>. If an error occurs,
- returns false.
- </para>
-
+ </para>
+ Returns an array of strings, each of which is a substring of
+ <parameter>string</parameter> formed by splitting it on boundaries formed
+ by the regular expression <parameter>pattern</parameter>.
+ If <parameter>limit</parameter> is set, the returned array will contaion a
+ maximum of <parameter>limit</parameter> elements with the last element
+ containing the whole rest of <parameter>string</parameter>.
+ If an error occurs, <function>split</function> returns false.
+ </para>
<para>
To get the first five fields from a line from
<filename>/etc/passwd</filename>:
- Next message: Hartmut Holzgraefe: "[PHPDOC] cvs: phpdoc /de/functions/ regex.xml"
- Previous message: Hartmut Holzgraefe: "[PHPDOC] cvs: phpdoc /en/functions/ regex.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

