Skip to content

Commit 88d890d

Browse files
author
Satoru Yoshida
committed
sync en
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@341968 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent c1b81d3 commit 88d890d

26 files changed

+45
-221
lines changed

reference/array/constants.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 27acde0b15f7131bbc5239a14073d63307770b18 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: shimooka -->
55
<appendix xml:id="array.constants" xmlns="http://docbook.org/ns/docbook">
66
&reftitle.constants;
@@ -117,7 +117,7 @@
117117
<listitem>
118118
<simpara>
119119
<constant>SORT_LOCALE_STRING</constant>は現在のロケールに基づいた
120-
文字列として比較を行うために使用されます。 PHP 4.4.0と5.0.2で追加
120+
文字列として比較を行うために使用されます。 PHP 5.0.2で追加
121121
されました。
122122
</simpara>
123123
</listitem>

reference/array/functions/array-diff-uassoc.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5faa7a6747bca628b3bdcc9f93aec5603b65581f Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 8c39010843340635b0ccf33c296d40184c64b855 Maintainer: takagi Status: ready -->
44
<refentry xml:id="function.array-diff-uassoc" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>array_diff_uassoc</refname>

reference/array/functions/array-keys.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 0b53ec8dfb1b105a268b2428985b3e5e294b9032 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: d1b2cfcca48d0be3e19cc4569dc92b7c0170b444 Maintainer: hirokawa Status: ready -->
44
<refentry xml:id="function.array-keys" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>array_keys</refname>
@@ -115,6 +115,7 @@ Array
115115
<para>
116116
<simplelist>
117117
<member><function>array_values</function></member>
118+
<member><function>array_combine</function></member>
118119
<member><function>array_key_exists</function></member>
119120
<member><function>array_search</function></member>
120121
</simplelist>

reference/array/functions/array-values.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 3ce14fde5cd5f15171a7ed2b64fdc7bd652c3842 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: d1b2cfcca48d0be3e19cc4569dc92b7c0170b444 Maintainer: hirokawa Status: ready -->
44
<refentry xml:id="function.array-values" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>array_values</refname>
@@ -69,6 +69,7 @@ Array
6969
<para>
7070
<simplelist>
7171
<member><function>array_keys</function></member>
72+
<member><function>array_combine</function></member>
7273
</simplelist>
7374
</para>
7475
</refsect1>

reference/dir/functions/scandir.xml

+1-47
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 13e47276f8279955f1b9761c10dbb18744fb5bf7 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 9e9c6ea115e3893ba17548ed8d3e0aa4a0ecc8a1 Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi -->
55
<refentry xml:id="function.scandir" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -116,52 +116,6 @@ $files2 = scandir($dir, 1);
116116
117117
print_r($files1);
118118
print_r($files2);
119-
?>
120-
]]>
121-
</programlisting>
122-
&example.outputs.similar;
123-
<screen>
124-
<![CDATA[
125-
Array
126-
(
127-
[0] => .
128-
[1] => ..
129-
[2] => bar.php
130-
[3] => foo.txt
131-
[4] => somedir
132-
)
133-
Array
134-
(
135-
[0] => somedir
136-
[1] => foo.txt
137-
[2] => bar.php
138-
[3] => ..
139-
[4] => .
140-
)
141-
]]>
142-
</screen>
143-
</example>
144-
</para>
145-
<para>
146-
<example>
147-
<title>PHP 4 での <function>scandir</function> の代用方法</title>
148-
<programlisting role="php">
149-
<![CDATA[
150-
<?php
151-
$dir = "/tmp";
152-
$dh = opendir($dir);
153-
while (false !== ($filename = readdir($dh))) {
154-
$files[] = $filename;
155-
}
156-
157-
sort($files);
158-
159-
print_r($files);
160-
161-
rsort($files);
162-
163-
print_r($files);
164-
165119
?>
166120
]]>
167121
</programlisting>

reference/iconv/configure.xml

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi -->
55
<section xml:id="iconv.installation" xmlns="http://docbook.org/ns/docbook">
66
&reftitle.install;
@@ -13,16 +13,6 @@
1313
を使うと、PHP のコンパイル時に使うシステム上の <emphasis>iconv</emphasis>
1414
の場所を指定できます。指定しなかった場合はデフォルトの場所を探します。
1515
</para>
16-
<note>
17-
<title>PHP 4 ユーザーへの注意</title>
18-
<simpara>
19-
この拡張モジュールを有効にするには
20-
<option role="configure">--with-iconv=[DIR]</option>
21-
を指定してビルドしなければなりません。Windows ユーザーの場合は、
22-
<filename>iconv.dll</filename> をシステムの <envar>PATH</envar> が通った場所に置いて
23-
&php.ini; で <filename>php_iconv.dll</filename> を有効にします。
24-
</simpara>
25-
</note>
2616
</section>
2717

2818
<!-- Keep this comment at the end of the file

reference/ldap/configure.xml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: takagi Status: ready -->
44
<section xml:id="ldap.installation" xmlns="http://docbook.org/ns/docbook">
55
&reftitle.install;
66
<para>
@@ -21,10 +21,6 @@
2121
<filename>libeay32.dll</filename> および
2222
<filename>ssleay32.dll</filename>
2323
</para>
24-
<simpara>
25-
PHP 4.3.0 より前のバージョンでは、さらに <filename>libsasl.dll</filename>
26-
も必要です。
27-
</simpara>
2824
</note>
2925
<para>
3026
Oracle LDAP ライブラリを使用するには、<link

reference/ldap/setup.xml

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 6bdf3d8c51714355434b12fc982a3eedb2484cd2 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 76a066d2131334980ac03842da44cb29f86c9c98 Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa -->
55

66
<chapter xml:id="ldap.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -15,18 +15,6 @@
1515
xlink:href="&url.ldap.bind9;">Bind9.net</link> から LDAP クライアント
1616
ライブラリを入手し、コンパイルしておく必要があります。
1717
PHP 5.6 以降の場合は、OpenLDAP 2.4 以降のバージョンが必要です。
18-
<!--
19-
FIXME:
20-
The other links are dead.. (7/7/2005)
21-
So were those Netscape links - updated netscape.sdk link to mozilla.org
22-
now. Also added new entity, url.ldap.bind9, which offers a win32 binary
23-
amongst other things (31/7/2005)
24-
25-
either the University of Michigan <link xlink:href="&url.ldap.mt;">
26-
ldap-3.3 package</link>, <link xlink:href="&url.ldap.netscape.sdk;"> Netscape
27-
Directory SDK 3.0</link> or <link xlink:href="&url.ldap.openldap.source;">
28-
OpenLDAP</link> to compile PHP with LDAP support.
29-
-->
3018
</para>
3119
</section>
3220
<!-- }}} -->

reference/network/functions/headers-sent.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 8b5940cadeb4f1c8492f4a7f70743a2be807cf39 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: takagi Status: ready -->
44
<refentry xml:id="function.headers-sent" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>headers_sent</refname>
@@ -78,7 +78,7 @@ if (!headers_sent()) {
7878
exit;
7979
}
8080
81-
// オプションのfileとlineパラメータの使用例(PHP4.3.0以降)
81+
// オプションのfileとlineパラメータの使用例
8282
// $filename と $linenum が後で使用されていることに注目。
8383
// これらの変数に事前に値を与えたりしてはいけません。
8484
if (!headers_sent($filename, $linenum)) {

reference/network/functions/ip2long.xml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 5d64d53fa1b49d372314b185ab13c447e27519db Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi -->
55
<refentry xml:id="function.ip2long" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
@@ -103,9 +103,9 @@ echo $out;
103103
<example>
104104
<title>IP アドレスの表示</title>
105105
<para>
106-
2 番目の例は、<function>printf</function>
107-
関数で変換されたアドレスを出力する方法を示すものです。
108-
PHP 4 と PHP 5 のどちらでも使えます
106+
2 番目の例は、変換されたアドレスを
107+
<function>printf</function>
108+
関数で出力する方法を示すものです
109109
</para>
110110
<programlisting role="php">
111111
<![CDATA[
@@ -142,8 +142,7 @@ if ($long == -1 || $long === FALSE) {
142142
<para>
143143
PHP 5 &lt;= 5.0.2 では、IP <literal>255.255.255.255</literal>
144144
に対して <function>ip2long</function> が &false; を返します。
145-
これは PHP 5.0.3 で <literal>-1</literal> を返すように修正されています
146-
(PHP 4 と同じ動作です)。
145+
これは PHP 5.0.3 で <literal>-1</literal> を返すように修正されています。
147146
</para>
148147
</note>
149148
</refsect1>

reference/pdo_sqlsrv/reference.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: b103d0e6a597d51a3caccb2f0843a1936a92fde2 Maintainer: takagi Status: ready -->
44

55
<reference xml:id="ref.pdo-sqlsrv" xmlns="http://docbook.org/ns/docbook">
66
<title>Microsoft SQL Server 関数 (PDO_SQLSRV)</title>

reference/ps/setup.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: af4410a7e15898c3dbe83d6ea38246745ed9c6fb Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: takagi Status: ready -->
44

55
<chapter xml:id="ps.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
&reftitle.setup;
@@ -9,7 +9,7 @@
99
<section xml:id="ps.requirements">
1010
&reftitle.required;
1111
<para>
12-
少なくとも PHP 4.3.0 以降と pslib &gt;= 0.1.12 が必要です。
12+
少なくとも pslib &gt;= 0.1.12 が必要です。
1313
ps ライブラリ(pslib)は、
1414
<link xlink:href="&url.pslib;">&url.pslib;</link> にあります。
1515
</para>

reference/strings/functions/sprintf.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: ec67e42ba8860cf21fb00437cebbc6cf309e7b5d Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: ead61e4ed793b633a433566b9e8416d17ae2cd4f Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi -->
55
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sprintf">
66
<refnamediv>
@@ -48,7 +48,6 @@
4848
数値で符号 (- あるいは +) を使用するよう指定します。
4949
デフォルトでは、数値が負の場合の - 符号のみが使用されます。
5050
この指定子により、正の数にも強制的に + 符号をつけることができます。
51-
これは PHP 4.3.0 で追加されました。
5251
</simpara>
5352
</listitem>
5453
<listitem>
@@ -124,7 +123,7 @@
124123
<member>
125124
<literal>F</literal> - 引数を float として扱い、
126125
浮動小数点数として表現します (ロケールに依存しません)。
127-
PHP 4.3.10 および PHP 5.0.3 以降で使用可能です。
126+
PHP 5.0.3 以降で使用可能です。
128127
</member>
129128
<member>
130129
<literal>g</literal> - <literal>%e</literal> および
@@ -345,6 +344,7 @@ The tree contains 0005 monkeys
345344
<para>
346345
フォーマット文字列 <parameter>format</parameter>
347346
に基づき生成された文字列を返します。
347+
&return.falseforfailure;
348348
</para>
349349
</refsect1>
350350

reference/tidy/configure.xml

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: shimooka Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: shimooka Status: ready -->
44
<!-- CREDITS: hirokawa -->
55
<section xml:id="tidy.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
&reftitle.install;
77
<para>
88
この拡張モジュールは PHP 5 以降にバンドルされており、configure オプション
99
<option role="configure">--with-tidy</option> を指定すればインストールすることができます。
1010
</para>
11-
<para>
12-
PHP 4 の場合は、(古い) PECL 拡張モジュール
13-
<link xlink:href="&url.pecl.package;tidy">&url.pecl.package;tidy</link>
14-
を使うことができます。
15-
</para>
16-
<note>
17-
<para>
18-
Tidy 1.0 は PHP 4 用であるのに対して、Tidy 拡張モジュールの新しいバージョンは
19-
PHP 5 以降専用です。
20-
</para>
21-
</note>
2211
</section>
2312

2413
<!-- Keep this comment at the end of the file

reference/tidy/tidynode/haschildren.xml

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: takagi Status: ready -->
44
<refentry xml:id="tidynode.haschildren" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>tidyNode::hasChildren</refname>
@@ -83,16 +83,6 @@ bool(false)
8383
</para>
8484
</refsect1>
8585

86-
<refsect1 role="notes">
87-
&reftitle.notes;
88-
<note>
89-
<para>
90-
この関数は、PHP 4/Tidy 1 では
91-
<function>tidy_node::has_children</function>
92-
という名前でした。
93-
</para>
94-
</note>
95-
</refsect1>
9686
</refentry>
9787

9888
<!-- Keep this comment at the end of the file

reference/tidy/tidynode/hassiblings.xml

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: takagi Status: ready -->
44
<!-- CREDITS: shimooka -->
55
<refentry xml:id="tidynode.hassiblings" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -84,16 +84,6 @@ bool(true)
8484
</para>
8585
</refsect1>
8686

87-
<refsect1 role="notes">
88-
&reftitle.notes;
89-
<note>
90-
<para>
91-
この関数は、PHP 4/Tidy 1 では
92-
<function>tidy_node::has_siblings</function>
93-
という名前でした。
94-
</para>
95-
</note>
96-
</refsect1>
9787
</refentry>
9888

9989
<!-- Keep this comment at the end of the file

reference/tidy/tidynode/isasp.xml

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 95bdd6883b5dde9504701777ba81b3c5f15df52b Maintainer: takagi Status: ready -->
44
<!-- CREDITS: shimooka -->
55
<refentry xml:id="tidynode.isasp" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -99,16 +99,6 @@ function get_nodes($node) {
9999
</para>
100100
</refsect1>
101101

102-
<refsect1 role="notes">
103-
&reftitle.notes;
104-
<note>
105-
<para>
106-
この関数は、PHP 4/Tidy 1 では
107-
<function>tidy_node::is_asp</function>
108-
という名前でした。
109-
</para>
110-
</note>
111-
</refsect1>
112102
</refentry>
113103

114104
<!-- Keep this comment at the end of the file

0 commit comments

Comments
 (0)