cvs: phpdoc-hu /reference/array/functions array-unshift.xml
| From: | Cece) Szabolcs | Date: | Mon, 09 Aug 2004 12:40:58 +0000 |
| Subject: | cvs: phpdoc-hu /reference/array/functions array-unshift.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-977@lists.php.net to get a copy of this message | ||
cece Mon Aug 9 08:40:58 2004 EDT
Modified files:
/phpdoc-hu/reference/array/functions array-unshift.xml
Log:
sync
http://cvs.php.net/diff.php/phpdoc-hu/reference/array/functions/array-unshift.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc-hu/reference/array/functions/array-unshift.xml
diff -u phpdoc-hu/reference/array/functions/array-unshift.xml:1.4
phpdoc-hu/reference/array/functions/array-unshift.xml:1.5
--- phpdoc-hu/reference/array/functions/array-unshift.xml:1.4 Sun Aug 17 06:18:00 2003
+++ phpdoc-hu/reference/array/functions/array-unshift.xml Mon Aug 9 08:40:58 2004
@@ -1,20 +1,18 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 -->
-<!-- last change to 'array-unshift' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.5 Maintainer: gerzson Status: ready -->
-<!-- OLD-Revision: 1.173/EN.1.2 -->
+<!-- EN-Revision: 1.10 Maintainer: cece -->
+<!-- CREDITS: gerzson -->
<refentry id="function.array-unshift">
<refnamediv>
<refname>array_unshift</refname>
<refpurpose>
- beszúr a tömb elejére egy vagy több elemet
+ Beszúr a tömb elejére egy vagy több elemet
</refpurpose>
</refnamediv>
<refsect1>
<title>Leírás</title>
<methodsynopsis>
<type>int</type><methodname>array_unshift</methodname>
-
<methodparam><type>array</type><parameter>array</parameter></methodparam>
+
<methodparam><type>array</type><parameter>&array</parameter></methodparam>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
<methodparam
choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
</methodsynopsis>
@@ -33,13 +31,16 @@
<title><function>array_unshift</function> példa</title>
<programlisting role="php">
<![CDATA[
+<?php
$sor = array('narancs', 'banán');
$gyumolcs = array_unshift($sor, 'alma', 'málna');
+?>
]]>
</programlisting>
<para>
Ez azt eredményezi, hogy a <varname>$sor</varname> tömbnek 4 eleme lesz:
- <screen role="php">
+ </para>
+ <screen role="php">
<![CDATA[
Array
(
@@ -49,8 +50,7 @@
[3] => banán
)
]]>
- </screen>
- </para>
+ </screen>
</example>
</para>
<para>