cvs: phpdoc-pl /reference/array/functions array-shift.xml
| From: | Leszek Krupinski | Date: | Tue, 28 Oct 2003 02:05:28 +0000 |
| Subject: | cvs: phpdoc-pl /reference/array/functions array-shift.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-198@lists.php.net to get a copy of this message | ||
leszek Mon Oct 27 21:05:28 2003 EDT
Modified files:
/phpdoc-pl/reference/array/functions array-shift.xml
Log:
[leszek] - updated to 1.9
Index: phpdoc-pl/reference/array/functions/array-shift.xml
diff -u phpdoc-pl/reference/array/functions/array-shift.xml:1.7
phpdoc-pl/reference/array/functions/array-shift.xml:1.8
--- phpdoc-pl/reference/array/functions/array-shift.xml:1.7 Fri Oct 24 21:12:35 2003
+++ phpdoc-pl/reference/array/functions/array-shift.xml Mon Oct 27 21:05:28 2003
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.5 Maintainer: leszek Status: ready -->
-<!-- $Revision: 1.7 $ -->
+<!-- EN-Revision: 1.9 Maintainer: leszek Status: ready -->
+<!-- $Revision: 1.8 $ -->
<refentry id="function.array-shift">
<refnamediv>
<refname>array_shift</refname>
@@ -23,18 +23,21 @@
<parameter>tablica</parameter> jest pusta (lub nie jest tablic±),
zwracana jest warto¶æ &null;.
</para>
- <para>
- <example>
- <title>Przyk³ad u¿ycia <function>array_shift</function></title>
- <programlisting role="php">
+ &array.resetspointer;
+ <example>
+ <title>Przyk³ad u¿ycia <function>array_shift</function></title>
+ <programlisting role="php">
<![CDATA[
-$stos= array ("pomarañcza", "banan", "jab³ko", "malina");
+<?php
+$stos = array ("pomarañcza", "banan", "jab³ko",
"malina");
$owoc = array_shift ($stos);
+?>
]]>
- </programlisting>
- <para>
- Zmienna <varname>$stos</varname> bêdzie mia³a 3 elementy:
- <screen>
+ </programlisting>
+ <para>
+ Zmienna <varname>$stos</varname> bêdzie mia³a 3 elementy:
+ </para>
+ <screen>
<![CDATA[
Array
(
@@ -43,12 +46,12 @@
[2] => malina
)
]]>
- </screen>
- a <literal>pomarañcza</literal> bêdzie przypisana do zmiennej
- <varname>$owoc</varname>
- </para>
- </example>
- </para>
+ </screen>
+ <para>
+ a <literal>pomarañcza</literal> bêdzie przypisana do zmiennej
+ <varname>$owoc</varname>
+ </para>
+ </example>
<para>
Patrz tak¿e: <function>array_unshift</function>,
<function>array_push</function> i
@@ -74,6 +77,6 @@
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
+vim: et tw=78 syn=sgml encoding=iso-8859-2
vi: ts=1 sw=1
-->