cvs: phpdoc /en/reference/strings/functions implode.xml

From: Date: Fri, 06 Jun 2003 21:20:40 +0000
Subject: cvs: phpdoc /en/reference/strings/functions implode.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354314@lists.php.net to get a copy of this message
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>

« previous php.doc (#969354314) next »