derick Fri Nov 1 13:35:26 2002 EDT
Modified files:
/phpdoc/en/reference/array/functions array-change-key-case.xml
array-chunk.xml
array-count-values.xml
Log:
- Reverted Hebrew texts in the English tree
Index: phpdoc/en/reference/array/functions/array-change-key-case.xml
diff -u phpdoc/en/reference/array/functions/array-change-key-case.xml:1.5
phpdoc/en/reference/array/functions/array-change-key-case.xml:1.6
--- phpdoc/en/reference/array/functions/array-change-key-case.xml:1.5 Fri Nov 1
08:05:53 2002
+++ phpdoc/en/reference/array/functions/array-change-key-case.xml Fri Nov 1
+13:35:26 2002
@@ -1,33 +1,31 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.113 -->
<refentry id="function.array-change-key-case">
<refnamediv>
<refname>array_change_key_case</refname>
- <refpurpose>����� ���� ��� ��������� ������� �������� ���� ������� �����
- �� ������� ������.</refpurpose>
+ <refpurpose>Returns an array with all string keys lowercased or
+uppercased</refpurpose>
</refnamediv>
<refsect1>
- <title>�����</title>
+ <title>Description</title>
<methodsynopsis>
<type>array</type><methodname>array_change_key_case</methodname>
<methodparam><type>array</type><parameter>input</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>case</parameter></methodparam>
</methodsynopsis>
<para>
- <function>array_change_key_case</function> ���� ��
- ��������� ����� <parameter>input</parameter> �������
- ����� �� ������� ������. ������ ���� ������ ������
- ���������� <parameter>case</parameter>. ��� ����
- ����� ��� ������ ������ ��:
+ <function>array_change_key_case</function> changes the
+ keys in the <parameter>input</parameter> array to
be all lowercase or uppercase. The change depends
- on the last optional <constant>CASE_UPPER</constant> �-
- <constant>CASE_LOWER</constant>. ����� ����� ���
- <constant>CASE_LOWER</constant>. �������� �����
- �������� ������� ��� ���.
+ on the last optional <parameter>case</parameter>
+ parameter. You can pass two constants there,
+ <constant>CASE_UPPER</constant> and
+ <constant>CASE_LOWER</constant>. The default is
+ <constant>CASE_LOWER</constant>. The function will leave
+ number indices as is.
</para>
<example>
- <title>����� �� <function>array_change_key_case</function></title>
+ <title><function>array_change_key_case</function> example</title>
<programlisting role="php">
<![CDATA[
$input_array = array("FirSt" => 1, "SecOnd" => 4);
@@ -35,7 +33,7 @@
]]>
</programlisting>
<para>
- ���� �� ������� ���� ����:
+ The printout of the above program will be:
<screen>
<![CDATA[
Array
Index: phpdoc/en/reference/array/functions/array-chunk.xml
diff -u phpdoc/en/reference/array/functions/array-chunk.xml:1.5
phpdoc/en/reference/array/functions/array-chunk.xml:1.6
--- phpdoc/en/reference/array/functions/array-chunk.xml:1.5 Fri Nov 1 08:06:07
2002
+++ phpdoc/en/reference/array/functions/array-chunk.xml Fri Nov 1 13:35:26 2002
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.array-chunk">
<refnamediv>
<refname>array_chunk</refname>
- <refpurpose>���� ���� ������</refpurpose>
+ <refpurpose>Split an array into chunks</refpurpose>
</refnamediv>
<refsect1>
- <title>�����</title>
+ <title>Description</title>
<methodsynopsis>
<type>array</type><methodname>array_chunk</methodname>
<methodparam><type>array</type><parameter>input</parameter></methodparam>
@@ -15,20 +15,22 @@
<methodparam
choice="opt"><type>bool</type><parameter>preserve_keys</parameter></methodparam>
</methodsynopsis>
<para>
- <function>array_chunk</function> ���� �� ����� �����
- ������ ����� <parameter>size</parameter>. ��� �� ����
- ����� ���� �� ���� ��� ���� �� ����� ����. ��� ����
- �� ������� ������� ����� ��-���� ��� �������� ��������
- �- 0.
+ <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.
</para>
<para>
- �� ��� ����� ������ ���������� <parameter>preserve_keys</parameter>
- �- &true;, ��� ���� ���� �� PHP ����� �� ���������
- �������� �� ������ ������. �� ��� ����� &false;, ��������
- ����� �������� ���� ������. ����� ����� ��� &false;.
+ 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;.
</para>
<example>
- <title>����� �� <function>array_chunk</function></title>
+ <title><function>array_chunk</function> example</title>
<programlisting role="php">
<![CDATA[
$input_array = array('a', 'b', 'c', 'd', 'e');
@@ -37,7 +39,7 @@
]]>
</programlisting>
<para>
- ���� �� ������� ���� ����:
+ The printout of the above program will be:
<screen>
<![CDATA[
Array
Index: phpdoc/en/reference/array/functions/array-count-values.xml
diff -u phpdoc/en/reference/array/functions/array-count-values.xml:1.5
phpdoc/en/reference/array/functions/array-count-values.xml:1.6
--- phpdoc/en/reference/array/functions/array-count-values.xml:1.5 Fri Nov 1
08:06:44 2002
+++ phpdoc/en/reference/array/functions/array-count-values.xml Fri Nov 1 13:35:26
+2002
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
<refentry id="function.array-count-values">
<refnamediv>
<refname>array_count_values</refname>
- <refpurpose>���� �� �� ������ �� ����</refpurpose>
+ <refpurpose>Counts all the values of an array</refpurpose>
</refnamediv>
<refsect1>
- <title>�����</title>
+ <title>Description</title>
<methodsynopsis>
<type>array</type><methodname>array_count_values</methodname>
<methodparam><type>array</type><parameter>input</parameter></methodparam>
</methodsynopsis>
<para>
- <function>array_count_values</function> ����� ���� ������
- ������ �� ���� <parameter>input</parameter> ��������� ��������
- ���� ������.
+ <function>array_count_values</function> returns an array using
+ the values of the <parameter>input</parameter> array as keys and
+ their frequency in <parameter>input</parameter> as values.
</para>
<para>
<example>
- <title>����� �� <function>array_count_values</function></title>
+ <title><function>array_count_values</function> example</title>
<programlisting role="php">
<![CDATA[
$array = array (1, "hello", 1, "world", "hello");
@@ -27,7 +27,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