mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
0e9d410391
commit
8528aef414
1 changed files with 10 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue