vrana Thu Sep 16 09:38:16 2004 EDT
Modified files:
/phpdoc/en/reference/array/functions array-splice.xml
Log:
Statements are not equal (bug #25489)
http://cvs.php.net/diff.php/phpdoc/en/reference/array/functions/array-splice.xml?r1=1.11&r2=1.12&ty=u
Index: phpdoc/en/reference/array/functions/array-splice.xml
diff -u phpdoc/en/reference/array/functions/array-splice.xml:1.11
phpdoc/en/reference/array/functions/array-splice.xml:1.12
--- phpdoc/en/reference/array/functions/array-splice.xml:1.11 Tue Aug 3 11:51:08
2004
+++ phpdoc/en/reference/array/functions/array-splice.xml Thu Sep 16 09:38:16
2004
@@ -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)