cvs: phpdoc-pt_BR /reference/array/functions array-splice.xml
| From: | Lucas Rocha | Date: | Fri, 13 Sep 2002 13:38:30 +0000 |
| Subject: | cvs: phpdoc-pt_BR /reference/array/functions array-splice.xml | ||
| Groups: | php.doc.pt-br | ||
| Request: | Send a blank email to doc-pt-br+get-202@lists.php.net to get a copy of this message | ||
lucasr Fri Sep 13 09:38:30 2002 EDT
Modified files:
/phpdoc-pt_BR/reference/array/functions array-splice.xml
Log:
Updating the example
Index: phpdoc-pt_BR/reference/array/functions/array-splice.xml
diff -u phpdoc-pt_BR/reference/array/functions/array-splice.xml:1.3
phpdoc-pt_BR/reference/array/functions/array-splice.xml:1.4
--- phpdoc-pt_BR/reference/array/functions/array-splice.xml:1.3 Fri Sep 6 08:00:22 2002
+++ phpdoc-pt_BR/reference/array/functions/array-splice.xml Fri Sep 13 09:38:30 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.4 Maintainer: lucasr Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: lucasr Status: ready -->
<!-- splitted from ./pt_BR/functions/array.xml, last change in rev 1.3 -->
<!-- last change to 'array-splice' in en/ tree in rev 1.14 -->
<refentry id="function.array-splice">
@@ -65,7 +65,7 @@
array_pop ($input) array_splice ($input, -1)
array_shift ($input) array_splice ($input, 0, 1)
array_unshift ($input, $x, $y) array_splice ($input, 0, 0, array ($x, $y))
-$a[$x] = $y array_splice ($input, $x, 1, $y)
+$input[$x] = $y array_splice ($input, $x, 1, $y)
]]>
</programlisting>
</para>