com doc/ja: SplFixedArray::setSize exists. The name is misleading.: reference/spl/splfixedarray.xml
| From: | Yoshinari Takaoka | Date: | Wed, 30 Dec 2020 15:13:05 +0000 |
| Subject: | com doc/ja: SplFixedArray::setSize exists. The name is misleading.: reference/spl/splfixedarray.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6010@lists.php.net to get a copy of this message | ||
Commit: 88b1a9664014ebed18caa1fe6ce00991044743e2
Author: Yoshinari Takaoka <mumumu@mumumu.org> Thu, 31 Dec 2020 00:13:05 +0900
Parents: bdf0a3efc9673586d2f7ba26083900e21c55941d
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=88b1a9664014ebed18caa1fe6ce00991044743e2
Log:
SplFixedArray::setSize exists. The name is misleading.
Changed paths:
M reference/spl/splfixedarray..xml
Diff:
diff --git a/reference/spl/splfixedarray.xml b/reference/spl/splfixedarray.xml
index 0d0fe5d09e..ede6f75178 100644
--- a/reference/spl/splfixedarray.xml
+++ b/reference/spl/splfixedarray.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 4491cca51d892ac1dd7ef42309ad34e26e149b42 Maintainer: takagi Status: ready
-->
+<!-- EN-Revision: ed1c33aa04584424bbded4ec1573a395c3e8fb71 Maintainer: takagi Status: ready
-->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc"
xml:id="class.splfixedarray" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>SplFixedArray クラス</title>
@@ -14,7 +14,7 @@
<para>
SplFixedArray クラスは配列の主要な機能を提供します。
SplFixedArray と通常の PHP の配列との主な違いは、
- SplFixedArray は固定長であって、
+ SplFixedArray は手動でリサイズしなければならないことと、
整数値で指定した範囲内の添字しか使用できないところです。
これにより、標準の <type>array</type>
よりメモリ消費が少なくて済みます。
</para>