svn: /phpdoc/ja/trunk/reference/array/functions/ array-fill.xml
| From: | TAKAGI Masahiro | Date: | Thu, 20 Nov 2014 22:45:27 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/array/functions/ array-fill.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-4300@lists.php.net to get a copy of this message | ||
takagi Thu, 20 Nov 2014 22:45:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=335203
Log:
Sync with en
Changed paths:
U phpdoc/ja/trunk/reference/array/functions/array-fill.xml
Modified: phpdoc/ja/trunk/reference/array/functions/array-fill.xml
===================================================================
--- phpdoc/ja/trunk/reference/array/functions/array-fill.xml 2014-11-20 22:12:40 UTC (rev 335202)
+++ phpdoc/ja/trunk/reference/array/functions/array-fill.xml 2014-11-20 22:45:27 UTC (rev 335203)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 310656 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 335201 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.array-fill" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_fill</refname>
@@ -49,7 +49,7 @@
<listitem>
<para>
挿入する要素数。
- 正の数でなければなりません。
+ ゼロ以上の数でなければなりません。
</para>
</listitem>
</varlistentry>
@@ -77,11 +77,36 @@
<refsect1 role="errors">
&reftitle.errors;
<para>
- <parameter>num</parameter> が 1 より小さい場合に
+ <parameter>num</parameter> がゼロより小さい場合に
<constant>E_WARNING</constant> が発生します。
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.6.0</entry>
+ <entry>
+ <parameter>num</parameter>
にゼロを指定できるようになりました。これより前のバージョンでは、
+ <parameter>num</parameter>
には正の数しか指定できませんでした。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>