mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
note that it doesn't preserve keys from replacement array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181315 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
119febb453
commit
ad5631260e
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.14 -->
|
||||
<refentry id="function.array-splice">
|
||||
<refnamediv>
|
||||
|
@ -55,8 +55,10 @@
|
|||
<parameter>length</parameter> are such that nothing is removed,
|
||||
then the elements from the <parameter>replacement</parameter>
|
||||
array are inserted in the place specified by the
|
||||
<parameter>offset</parameter>. Tip: if the replacement is just
|
||||
one element it is not necessary to put <literal>array()</literal>
|
||||
<parameter>offset</parameter>. Note that keys in replacement
|
||||
array are not preserved.
|
||||
If <parameter>replacement</parameter> is just one element it is
|
||||
not necessary to put <literal>array()</literal>
|
||||
around it, unless the element is an array itself.
|
||||
</para>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue