com doc/ja: fixed array_reduce function description, pointed out by tadsan.: reference/array/functions/a rray-reduce.xml
| From: | Yoshinari Takaoka | Date: | Sun, 21 Feb 2021 03:21:48 +0000 |
| Subject: | com doc/ja: fixed array_reduce function description, pointed out by tadsan.: reference/array/functions/a rray-reduce.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6211@lists.php.net to get a copy of this message | ||
Commit: 3fa42bbae99d8f53531e54e58c6e0683b67e9e01
Author: Yoshinari Takaoka <mumumu@mumumu.org> Sun, 21 Feb 2021 12:21:48 +0900
Parents: a8e678364300d39650cfa42f7f8c4c5ee17c5065
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=3fa42bbae99d8f53531e54e58c6e0683b67e9e01
Log:
fixed array_reduce function description, pointed out by tadsan.
Changed paths:
M reference/array/functions/array-reduce.xml
Diff:
diff --git a/reference/array/functions/array-reduce.xml b/reference/array/functions/array-reduce.xml
index ca44c648f9..170ca48483 100644
--- a/reference/array/functions/array-reduce.xml
+++ b/reference/array/functions/array-reduce.xml
@@ -5,7 +5,7 @@
<refentry xml:id="function.array-reduce" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_reduce</refname>
-
<refpurpose>コールバック関数を用いて配列を普通の値に変更することにより、配列を再帰的に減らす</refpurpose>
+
<refpurpose>コールバック関数を繰り返し配列に適用し、配列をひとつの値にまとめる</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
@@ -18,7 +18,7 @@
<para>
<function>array_reduce</function> は、配列
<parameter>array</parameter>
の各要素に <parameter>callback</parameter> 関数を繰り返し適用し、
- 配列を一つの値に減らします。
+ 配列をひとつの値にまとめます。
</para>
</refsect1>
<refsect1 role="parameters">