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

From: Date: Wed, 21 May 2003 20:13:25 +0000
Subject: cvs: phpdoc /en/reference/strings/functions implode.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353729@lists.php.net to get a copy of this message
et Wed May 21 16:13:25 2003 EDT Modified files: /phpdoc/en/reference/strings/functions implode.xml Log: the glue parameter is optional as of PHP 4.3 Index: phpdoc/en/reference/strings/functions/implode.xml diff -u phpdoc/en/reference/strings/functions/implode.xml:1.3 phpdoc/en/reference/strings/functions/implode.xml:1.4 --- phpdoc/en/reference/strings/functions/implode.xml:1.3 Fri Jun 7 13:46:26 2002 +++ phpdoc/en/reference/strings/functions/implode.xml Wed May 21 16:13:25 2003 @@ -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.implode"> <refnamediv> @@ -10,7 +10,9 @@ <title>Description</title> <methodsynopsis> <type>string</type><methodname>implode</methodname> - <methodparam><type>string</type><parameter>glue</parameter></methodparam> + <methodparam choice="opt"> + <type>string</type><parameter>glue</parameter> + </methodparam> <methodparam><type>array</type><parameter>pieces</parameter></methodparam> </methodsynopsis> <para> @@ -39,6 +41,12 @@ its parameters in either order. For consistency with <function>explode</function>, however, it may be less confusing to use the documented order of arguments. + </para> + </note> + <note> + <para> + As of PHP 4.3.0, the glue parameter of <function>implode</function> is + optional and defaults to the empty string(''). </para> </note> <simpara>

« previous php.doc (#969353729) next »