Statements are not equal (bug #25489)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168680 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-09-16 13:38:16 +00:00
parent 8b193318e8
commit d39d863a48

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.11 $ -->
<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.14 -->
<refentry id="function.array-splice">
<refnamediv>
@ -60,7 +60,8 @@
around it, unless the element is an array itself.
</para>
<para>
The following equivalences hold:
The following statements change the values of <varname>$input</varname>
the same way:
<table>
<title><function>array_splice</function> equivalents</title>
<tgroup cols="2">
@ -99,7 +100,7 @@
</row>
<row>
<entry>
$a[$x] = $y
$input[$x] = $y // for arrays where key equals offset
</entry>
<entry>
array_splice($input, $x, 1, $y)