hadar_p Fri Nov 1 08:06:07 2002 EDT
Modified files:
/phpdoc/en/reference/array/functions array-chunk.xml
Log:
First version
Index: phpdoc/en/reference/array/functions/array-chunk.xml
diff -u phpdoc/en/reference/array/functions/array-chunk.xml:1.4
phpdoc/en/reference/array/functions/array-chunk.xml:1.5
--- phpdoc/en/reference/array/functions/array-chunk.xml:1.4 Sun May 12 04:19:28
2002
+++ phpdoc/en/reference/array/functions/array-chunk.xml Fri Nov 1 08:06:07 2002
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.array-chunk">
<refnamediv>
<refname>array_chunk</refname>
- <refpurpose>Split an array into chunks</refpurpose>
+ <refpurpose>���� ���� ������</refpurpose>
</refnamediv>
<refsect1>
- <title>Description</title>
+ <title>�����</title>
<methodsynopsis>
<type>array</type><methodname>array_chunk</methodname>
<methodparam><type>array</type><parameter>input</parameter></methodparam>
@@ -15,22 +15,20 @@
<methodparam
choice="opt"><type>bool</type><parameter>preserve_keys</parameter></methodparam>
</methodsynopsis>
<para>
- <function>array_chunk</function> splits the array into
- several arrays with <parameter>size</parameter> values
- in them. You may also have an array with less values
- at the end. You get the arrays as members of a
- multidimensional array indexed with numbers starting
- from zero.
+ <function>array_chunk</function> ���� �� ����� �����
+ ������ ����� <parameter>size</parameter>. ��� �� ����
+ ����� ���� �� ���� ��� ���� �� ����� ����. ��� ����
+ �� ������� ������� ����� ��-���� ��� �������� ��������
+ �- 0.
</para>
<para>
- By setting the optional <parameter>preserve_keys</parameter>
- parameter to &true;, you can force PHP to preserve the original
- keys from the input array. If you specify &false; new number
- indices will be used in each resulting array with
- indices starting from zero. The default is &false;.
+ �� ��� ����� ������ ���������� <parameter>preserve_keys</parameter>
+ �- &true;, ��� ���� ���� �� PHP ����� �� ���������
+ �������� �� ������ ������. �� ��� ����� &false;, ��������
+ ����� �������� ���� ������. ����� ����� ��� &false;.
</para>
<example>
- <title><function>array_chunk</function> example</title>
+ <title>����� �� <function>array_chunk</function></title>
<programlisting role="php">
<![CDATA[
$input_array = array('a', 'b', 'c', 'd', 'e');
@@ -39,7 +37,7 @@
]]>
</programlisting>
<para>
- The printout of the above program will be:
+ ���� �� ������� ���� ����:
<screen>
<![CDATA[
Array
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php