derick Fri Jun 6 17:20:40 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions implode.xml
Log:
- Document implode() properly
Index: phpdoc/en/reference/strings/functions/implode.xml
diff -u phpdoc/en/reference/strings/functions/implode.xml:1.8
phpdoc/en/reference/strings/functions/implode.xml:1.9
--- phpdoc/en/reference/strings/functions/implode.xml:1.8 Fri Jun 6 15:47:18
2003
+++ phpdoc/en/reference/strings/functions/implode.xml Fri Jun 6 17:20:40 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.implode">
<refnamediv>
@@ -10,21 +10,8 @@
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>implode</methodname>
- <methodparam>
- <type>string</type><parameter>glue</parameter>
- </methodparam>
- <methodparam>
- <type>array</type><parameter>pieces</parameter>
- </methodparam>
- </methodsynopsis>
- <methodsynopsis>
- <type>string</type><methodname>implode</methodname>
- <methodparam>
- <type>array</type><parameter>pieces</parameter>
- </methodparam>
- <methodparam choice="opt">
- <type>string</type><parameter>glue</parameter>
- </methodparam>
+ <methodparam><type>string</type><parameter>glue</parameter></methodparam>
+ <methodparam><type>array</type><parameter>pieces</parameter></methodparam>
</methodsynopsis>
<para>
Returns a string containing a string representation of all the
@@ -57,7 +44,9 @@
<note>
<para>
As of PHP 4.3.0, the glue parameter of <function>implode</function> is
- optional and defaults to the empty string('').
+ optional and defaults to the empty string(''). This is not the preferred
+ usage of <function>implode</function>. We recommend to always use two
+ parameters for compatibility with older versions.
</para>
</note>
<simpara>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php