cvs: phpdoc-hu /reference/array/functions array-slice.xml
| From: | Cece) Szabolcs | Date: | Fri, 06 Aug 2004 12:02:51 +0000 |
| Subject: | cvs: phpdoc-hu /reference/array/functions array-slice.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-902@lists.php.net to get a copy of this message | ||
cece Fri Aug 6 08:02:51 2004 EDT
Modified files:
/phpdoc-hu/reference/array/functions array-slice.xml
Log:
sync
http://cvs.php.net/diff.php/phpdoc-hu/reference/array/functions/array-slice.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-hu/reference/array/functions/array-slice.xml
diff -u phpdoc-hu/reference/array/functions/array-slice.xml:1.3
phpdoc-hu/reference/array/functions/array-slice.xml:1.4
--- phpdoc-hu/reference/array/functions/array-slice.xml:1.3 Wed Aug 14 12:56:19 2002
+++ phpdoc-hu/reference/array/functions/array-slice.xml Fri Aug 6 08:02:50 2004
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 -->
<!-- last change to 'array-slice' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.4 Maintainer: gerzson Status: ready -->
+<!-- EN-Revision: 1.8 Maintainer: cece Status: ready -->
+<!-- CREDITS: gerzson -->
<!-- OLD-Revision: 1.173/EN.1.2 -->
<refentry id="function.array-slice">
<refnamediv>
<refname>array_slice</refname>
- <refpurpose>a tömb egy részével tér vissza</refpurpose>
+ <refpurpose>A tömb egy részével tér vissza</refpurpose>
</refnamediv>
<refsect1>
<title>Leírás</title>
@@ -51,18 +52,21 @@
<title><function>array_slice</function> példák</title>
<programlisting role="php">
<![CDATA[
-$input = array ("a", "b", "c", "d", "e");
+<?php
+$input = array("a", "b", "c", "d", "e");
// visszatérési értékek
-$output = array_slice ($input, 2); // "c", "d", "e"
-$output = array_slice ($input, 2, -1); // "c", "d"
-$output = array_slice ($input, -2, 1); // "d"
-$output = array_slice ($input, 0, 3); // "a", "b", "c"
+$output = array_slice($input, 2); // "c", "d", "e"
+$output = array_slice($input, 2, -1); // "c", "d"
+$output = array_slice($input, -2, 1); // "d"
+$output = array_slice($input, 0, 3); // "a", "b", "c"
+?>
]]>
</programlisting>
</example>
</para>
<para>
- Lásd még: <function>array_splice</function>!
+ Lásd még: <function>array_splice</function> és
+ <function>unset</function>.
</para>
</refsect1>
</refentry>