Minor update to example, removed see also to the alias join().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@84997 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2002-06-07 17:46:26 +00:00
parent 0e9d410391
commit 8528aef414

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.implode">
<refnamediv>
@ -21,7 +21,14 @@
<title><function>implode</function> example</title>
<programlisting role="php">
<![CDATA[
$colon_separated = implode(":", $array);
<?php
$array = array('lastname', 'email', 'phone');
$comma_separated = implode(",", $array);
print $comma_separated; // lastname,email,phone
?>
]]>
</programlisting>
</example>
@ -35,8 +42,7 @@ $colon_separated = implode(":", $array);
</para>
</note>
<simpara>
See also <function>explode</function>, <function>join</function>,
and <function>split</function>.
See also <function>explode</function>, and <function>split</function>.
</simpara>
</refsect1>
</refentry>