Date: 05/20/00
- Next message: Joey Smith: "[PHPDOC] cvs: phpdoc /en/functions/ mysql.xml"
- Previous message: Hartmut Holzgraefe: "[PHPDOC] cvs: phpdoc /de/functions/ regex.xml strings.xml /en/functions/ regex.xml strings.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hholzgra Sat May 20 07:04:27 2000 EDT
Modified files:
/phpdoc/en/functions strings.xml regex.xml
/phpdoc/de/functions strings.xml regex.xml
Log:
patch to explode suspended till 4.0.1
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.10 phpdoc/en/functions/strings.xml:1.11
--- phpdoc/en/functions/strings.xml:1.10 Sat May 20 00:01:34 2000
+++ phpdoc/en/functions/strings.xml Sat May 20 07:04:26 2000
@@ -460,15 +460,10 @@
<funcdef>array <function>explode</function></funcdef>
<paramdef>string <parameter>separator</parameter></paramdef>
<paramdef>string <parameter>string</parameter></paramdef>
- <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>.
<example>
<title><function>Explode</function> example</title>
<programlisting role="php">
Index: phpdoc/en/functions/regex.xml
diff -u phpdoc/en/functions/regex.xml:1.4 phpdoc/en/functions/regex.xml:1.5
--- phpdoc/en/functions/regex.xml:1.4 Sat May 20 00:01:34 2000
+++ phpdoc/en/functions/regex.xml Sat May 20 07:04:26 2000
@@ -248,13 +248,10 @@
</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 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>
+ string formed by splitting it on boundaries formed by the regular
+ expression <parameter>pattern</parameter>. If an error occurs,
+ returns false.
+ </para>
<para>
To get the first five fields from a line from
Index: phpdoc/de/functions/strings.xml
diff -u phpdoc/de/functions/strings.xml:1.6 phpdoc/de/functions/strings.xml:1.7
--- phpdoc/de/functions/strings.xml:1.6 Sat May 20 00:01:34 2000
+++ phpdoc/de/functions/strings.xml Sat May 20 07:04:26 2000
@@ -460,15 +460,10 @@
<funcdef>array <function>explode</function></funcdef>
<paramdef>string <parameter>separator</parameter></paramdef>
<paramdef>string <parameter>string</parameter></paramdef>
- <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>.
<example>
<title><function>Explode</function> example</title>
<programlisting role="php">
Index: phpdoc/de/functions/regex.xml
diff -u phpdoc/de/functions/regex.xml:1.3 phpdoc/de/functions/regex.xml:1.4
--- phpdoc/de/functions/regex.xml:1.3 Sat May 20 00:01:34 2000
+++ phpdoc/de/functions/regex.xml Sat May 20 07:04:27 2000
@@ -247,14 +247,12 @@
<paramdef>int <parameter><optional>limit</optional></parameter></paramdef>
</funcsynopsis>
<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.
+ string formed by splitting it on boundaries formed by the regular
+ expression <parameter>pattern</parameter>. If an error occurs,
+ returns false.
+ </para>
+
<para>
To get the first five fields from a line from
<filename>/etc/passwd</filename>:
- Next message: Joey Smith: "[PHPDOC] cvs: phpdoc /en/functions/ mysql.xml"
- Previous message: Hartmut Holzgraefe: "[PHPDOC] cvs: phpdoc /de/functions/ regex.xml strings.xml /en/functions/ regex.xml strings.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

