mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Plus doesn't overwrite keys (bug #42323)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241382 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
a93823c167
commit
028a5aff9c
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.20 $ -->
|
||||
<!-- $Revision: 1.21 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
|
||||
<refentry xml:id="function.array-merge" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
|
@ -85,7 +85,8 @@ Array
|
|||
</screen>
|
||||
<para>
|
||||
If you want to completely preserve the arrays and just want to append
|
||||
them to each other, use the <literal>+</literal> operator:
|
||||
them to each other (not overwriting the previous keys), use the
|
||||
<literal>+</literal> operator:
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
|
Loading…
Reference in a new issue