the glue parameter is optional as of PHP 4.3

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128268 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Stefan Walk 2003-05-21 20:13:25 +00:00
parent 17987f4d57
commit ca431331de

View file

@ -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>
@ -41,6 +43,12 @@ print $comma_separated; // lastname,email,phone
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>
See also <function>explode</function>, and <function>split</function>.
</simpara>