hirokawa Thu Mar 1 07:24:46 2001 EDT
Added files:
/phpdoc/ja/appendices reserved.xml
Modified files:
/phpdoc/ja Translators
/phpdoc/ja/chapters install.xml
/phpdoc/ja/functions funchand.xml gmp.xml mcal.xml ovrimos.xml
sesam.xml zlib.xml
/phpdoc/ja/language control-structures.xml references.xml types.xml
Log:
update translation,added reserved.xml.
Index: phpdoc/ja/Translators
diff -u phpdoc/ja/Translators:1.18 phpdoc/ja/Translators:1.19
--- phpdoc/ja/Translators:1.18 Wed Feb 21 15:20:37 2001
+++ phpdoc/ja/Translators Thu Mar 1 07:24:44 2001
@@ -8,8 +8,10 @@
appendices/history.xml Rui Hirokawa
appendices/http-stuff.xml Rui Hirokawa
appendices/migration.xml Michihide Hotta
+appendices/migration4.xml Rui Hirokawa
appendices/phpdevel.xml Rui Hirokawa
appendices/regexp.xml Rui Hirokawa
+appendices/reserved.xml Rui Hirokawa
------- chapters ------------------------------------------------------------
chapters/config.xml Rui Hirokawa
chapters/copyright.xml Rui Hirokawa
Index: phpdoc/ja/chapters/install.xml
diff -u phpdoc/ja/chapters/install.xml:1.25 phpdoc/ja/chapters/install.xml:1.26
--- phpdoc/ja/chapters/install.xml:1.25 Sun Feb 18 15:30:20 2001
+++ phpdoc/ja/chapters/install.xml Thu Mar 1 07:24:44 2001
@@ -151,7 +151,7 @@
</sect1>
<sect1 id="install.linux">
- <title>Linux インストール</title>
+ <title>UNIX/Linux インストール</title>
<para>
本節では、PHPをLinuxにインストールする場合の注意とコツについて説明
します。
@@ -171,7 +171,7 @@
</sect1>
<sect1 id="install.hpux">
- <title>HP-UX インストール</title>
+ <title>UNIX/HP-UX インストール</title>
<para>
本節では、HP-UXへのインストールに固有の注意とコツについて説明しま
す。
@@ -263,7 +263,7 @@
</sect1>
<sect1 id="install.solaris">
-<title>Solaris へのインストール</title>
+<title>UNIX/Solaris へのインストール</title>
<para>
本節は、SolaricにPHPをインストールする際の注意とコツを説明します。
</para>
@@ -862,6 +862,17 @@
</listitem>
</varlistentry>
+ <varlistentry id="install.configure.with-ovrimos">
+ <term>
+ <parameter>--with-ovrimos</parameter>
+ </term>
+ <listitem>
+ <para>
+ PHP 3, PHP 4: Ovrimosサポートを有効にする。
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="install.configure.with-oci8">
<term>
<parameter>--with-oci8[=DIR]</parameter>
@@ -1420,6 +1431,18 @@
</para>
<variablelist>
+
+ <varlistentry id="install.configure.gmp">
+ <term>
+ <parameter>--with-gmp</parameter>
+ </term>
+ <listitem>
+ <para>
+ PHP 3, PHP 4 : GMPサポートを有効にします。
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="install.configure.disable-bcmath">
<term>
<parameter>--disable-bcmath</parameter>
@@ -2094,6 +2117,17 @@
</listitem>
</varlistentry>
+ <varlistentry id="install.configure.enable-shared-pdflib">
+ <term>
+ <parameter>--enable-shared-pdflib</parameter>
+ </term>
+ <listitem>
+ <para>
+ PHP 3, PHP 4: pdflibを共有ライブラリとして有効にします。
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="install.configure.with-readline">
<term>
<parameter>--with-readline[=DIR]</parameter>
@@ -2209,6 +2243,18 @@
</listitem>
</varlistentry>
+ <varlistentry id="install.configure.with-bzip2-dir">
+ <term>
+ <parameter>--with-bzip[=DIR]</parameter>
+ </term>
+ <listitem>
+ <para>
+ PHP 3, PHP 4: bzip2サポートを有効にします。DIRはbzip2をインス
+ トールしたディレクトリです。
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="install.configure.with-zlib-dir">
<term>
<parameter>--with-zlib-dir[=DIR]</parameter>
@@ -2444,17 +2490,28 @@
</term>
<listitem>
<para>
- PHP 3: YP を有効にします
+ PHP 3: YP を有効にします
</para>
<para>
- PHP 4: 利用できないオプション。代わりに <link
- linkend="install.configure.enable-yp">--enable-yp</link>
- を使用して下さい。
+ PHP 4: 利用できないオプション。代わりに <link
+ linkend="install.configure.enable-yp">--enable-yp</link>
+ を使用して下さい。
</para>
</listitem>
</varlistentry>
- </variablelist>
+ <varlistentry id="install.configure.with-mnogosearch">
+ <term>
+ <parameter>--with-mnogosearch</parameter>
+ </term>
+ <listitem>
+ <para>
+ PHP 3, PHP 4: mnoGoSearchサポートを有効にします。
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
</sect2>
<sect2 id="install.configure.php">
@@ -2746,6 +2803,18 @@
</para>
</listitem>
</varlistentry>
+
+ <varlistentry id="install.configure.enable-shmop">
+ <term>
+ <parameter>--enable-shmop</parameter>
+ </term>
+ <listitem>
+ <para>
+ PHP 3, PHP 4 : shmop サポートを有効にします。
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</sect2>
@@ -3418,7 +3487,7 @@
</sect1>
<sect1 id="install.apache">
- <title>Apache サーバへのインストール</title>
+ <title>Apacheサーバ</title>
<para>
本節では、PHPをApacheにインストールする際の注意事項とコツについて
説明します。<link linkend="install.apache.unix">Unix</link> 版と
@@ -3618,7 +3687,7 @@
</sect1>
<sect1 id="install.commandline">
- <title>CGI/コマンドラインサーバインストール</title>
+ <title>CGI/コマンドラインサーバ</title>
<para>
デフォルトでは、PHPはCGIプログラムとして構築されます。これにより
CGI処理やWeb以外のPHPスクリプトの実行に使用可能なコマンドラインイ
@@ -3663,7 +3732,7 @@
</sect1>
<sect1 id="install.fhttpd">
- <title>fhttpd サーバインストール</title>
+ <title>fhttpd サーバ</title>
<para>
PHPをfhttpdモジュールとして作成するには、"Build as an fhttpd
module?" に対して、"yes" と答えてください。(configure の
オプショ
@@ -3679,7 +3748,7 @@
</sect1>
<sect1 id="install.iis">
- <title>IIS/PWS サーバへのインストール</title>
+ <title>IIS/PWS サーバ</title>
<para>
本節では、PHPをIIS(Microsoft Internet Information Server) にインス
トールする際の注意およびヒントについて説明します。
@@ -3878,17 +3947,18 @@
<itemizedlist>
<listitem>
<simpara>
- Edit the enclosed <filename>pws-php4isapi.reg</filename>
- file (look into the sapi dir) to reflect the location of
- your php4isapi.dll. Forward slashes should be escaped, for example:
+ 添付されている<filename>pws-php4isapi.reg</filename>ファイルを
+
+編集し(sapiディレクトリを参照)、php4isapi.dllの位置をシステム
+
+にあったものに修正して下さい。前向きスラッシュはエスケープする
+ 必要があります。例えば、
<literal>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script
Map] ".php"="C:\\PHP\\sapi\\php4isapi.dll"</literal>
</simpara>
</listitem>
<listitem>
<simpara>
- In the PWS Manager, right click on a given directory you want to
- add PHP support to, and select Properties. Check the 'Execute'
- checkbox, and confirm.
+ PWS
+マネージャで、PHPサポートを追加したいディレクトリで右クリッ
+
+クす、プロパティを選択します。「実行」チェックボックスをチェッ
+ クし、確認を押します。
</simpara>
</listitem>
</itemizedlist>
@@ -3900,89 +3970,85 @@
<title>Windows NT/2000 と IIS 4 以降</title>
<simpara>
- To install PHP on an NT/2000 Server running IIS 4 or newer,
- follow these instructions. You have two options to set up
- PHP, using the CGI binary (php.exe) or with the ISAPI module.
+ PHPをIIS
+4以降を実行しているNT/2000サーバ上にインストールするには、
+
+以下の指示に従って下さい。PHPを設定するには、CGIバイナリ(php.exe)
+ 版とISAPIモジュール版の2種類あります。
</simpara>
<simpara>
- In either case, you need to start the Microsoft Management
- Console (may appear as 'Internet Services Manager', either
- in your Windows NT 4.0 Option Pack branch or the Control
- Panel=>Administrative Tools under Windows 2000). Then
- right click on your Web server node (this will most probably
- appear as 'Default Web Server'), and select 'Properties'.
+
+どちらの場合も、マイクロソフトマネージメントコンソールを起動する
+
+必要があります。(「インターネットサービスマネージャ」またはNT
+ 4.0
+ オプションパックまたはWindows
+2000では、コントロールパネル=>管
+
+理ツールに現れます。)つづ意で、Webサーバノード上で右クリック
+
+(「デフォルトのWebサーバ」としてこれが現れていることが多い)
</simpara>
-
<para>
- If you want to use the CGI binary, do the following:
+ CGIバイナリを使用したい場合、次のようにします。
<itemizedlist>
<listitem>
<simpara>
- Under 'Home Directory', 'Virtual Directory', or
- 'Directory', click on the 'Configuration' button,
- and then enter the App Mappings tab.
+
+'ホームディレクトリ'、'仮想ディレクトリ'、'ディレクトリ'の下で'
+
+設定'ボタンをクリックし、Appマッピングタブに移ります。
</simpara>
</listitem>
<listitem>
<simpara>
- Click Add, and in the Executable box, type:
- <literal>c:\php\php.exe %s %s</literal> (assuming
- that you have unziped PHP in c:\php\). You MUST
- have the %s %s on the end, PHP will not function
- properly if you fail to do this.
- </simpara>
+
+追加をクリックし、実行ボックスで次のように入力します。
+ <literal>c:\php\php.exe %s %s</literal> (PHPのzipアーカイブを
+ c:\php\で解凍したと仮定します) %s %s
+を終端に付ける必要があり
+ ます。これを行わないと、PHPは正しく機能しません。
+ </simpara>
</listitem>
<listitem>
<simpara>
- In the Extension box, type the file name extension you want
- associated with PHP scripts. Leave 'Method exclusions'
- blank, and check the Script engine checkbox.
- You must repeat step 3 and 4 for each extension you
- want associated with PHP scripts.
- (<literal>.php</literal> and <literal>.phtml</literal>
- are common.)
+
+実行ボックスの中で、PHPスクリプトを関連づけるファイル名の拡張
+
+子を入力して下さい。'除外メソッド'を空白のままにし、スクリプト
+ エンジンチェックボックスをチェックして下さい。
+
+手順3および4をPHPスクリプトに関連づけたい拡張毎に繰り返して下
+ さい。(<literal>.php</literal> と <literal>.phtml</literal>
+ が一般的です)
</simpara>
</listitem>
<listitem>
<simpara>
- Set up the appropriate security. (This is done in Internet
- Service Manager), and if your NT Server uses NTFS file system,
- add execute rights for I_USR_ to the directory that contains
- <literal>php.exe</literal>.
+
+適切にセキュリティを設定して下さい。(これは、インターネットセキュ
+ リティマネージャにおいて行われます)
+NTサーバがNTFSファイルシス
+ テムを使用している場合、I_USR_に関する実行権限を
+ <literal>php.exe</literal> を有するディレクトリに追加して下さ
+ い。
</simpara>
</listitem>
</itemizedlist>
</para>
<para>
- To use the ISAPI module, do the following:
+ ISAPIモジュールを使用するには、次のようにして下さい。
<itemizedlist>
<listitem>
<simpara>
- If you don't want to perform HTTP Authentication using PHP,
- you can (and should) skip this step. Under ISAPI Filters,
- add a new ISAPI filter. Use PHP as the filter name, and
- supply a path to the php4isapi.dll.
+
+PHPを使用してHTTP認証を実行したくない場合は、この手順を飛ばす
+
+ことも可能です(そして、そうするべきです)。ISAPIフィルタの元で
+
+新規フィルタを追加して下さい。PHPをフィルタ名として使用し、
+ php4isapi.dllへのパスを入力して下さい。
</simpara>
</listitem>
<listitem>
<simpara>
- Under 'Home Directory', click on the 'Configuration' button.
- Add a new entry to the Application Mappings. Use the path
- to the php4isapi.dll as the Executable, supply .php as the
- extension, leave Method exclusions blank, and check the
- Script engine checkbox.
+ 'Home Directory'以下で'Configuration'ボタンをクリックして下さ
+
+い。アプリケーションマネージャへの新規エントリを追加します。
+
+実行ファイルにphp4isapi.dllへのパスを入力して下さい。拡張子と
+ して .php
+を指定、除外メソッドは空白のまま、スクリプトエンジン
+ チェックボックスをチェックして下さい。
</simpara>
</listitem>
<listitem>
<simpara>
- Stop IIS completely
+ IISを完全に停止
</simpara>
</listitem>
<listitem>
<simpara>
- Start IIS again
+ IISを再度開始
</simpara>
</listitem>
</itemizedlist>
@@ -3991,7 +4057,7 @@
</sect1>
<sect1 id="install.netscape-enterprise">
- <title>Netscape および iPlanet Enterprise サーバのインストール</title>
+ <title>Netscape および iPlanet Enterprise サーバ</title>
<para>
PHPをNESまたはiPlanet
Webサーバ用に構築するには、適当なインストー
ルディレクトリを付けて<option><link
@@ -4118,7 +4184,7 @@
</sect1>
<sect1 id="install.omnihttpd">
- <title>Omni HTTPd サーバのインストール</title>
+ <title>Omni HTTPd サーバ</title>
<para>
本節は、Omni
HTTPdを使用する際の注意とコツについて説明します。
</para>
@@ -4218,7 +4284,7 @@
</sect1>
<sect1 id="install.xitami">
- <title>Xitami サーバへのインストール</title>
+ <title>Xitami サーバ</title>
<para>
本節では、Xitamiに固有の注意事項とヒントについて説明します。
</para>
Index: phpdoc/ja/functions/funchand.xml
diff -u phpdoc/ja/functions/funchand.xml:1.4 phpdoc/ja/functions/funchand.xml:1.5
--- phpdoc/ja/functions/funchand.xml:1.4 Thu Jan 4 22:29:04 2001
+++ phpdoc/ja/functions/funchand.xml Thu Mar 1 07:24:45 2001
@@ -125,7 +125,7 @@
create_function('$b,$a','if (strncmp($a,$b,3) == 0) return "** \"$a\" '.
'and \"$b\"\n** Look the same to me! (looking at the first 3 chars)";'),
create_function('$a,$b','; return "CRCs: ".crc32($a)." , ".crc32(b);'),
- create_function('$a,$b','; return "similar(a,b) =
".similar_text($a,$b,&$p)."($p%)";')
+ create_function('$a,$b','; return "similar(a,b) =
+".similar_text($a,$b,&$p)."($p%)";')
);
echo "\nUsing the second array of anonymous functions\n";
process("Twas brilling and the slithy toves", "Twas the night", $garr);
@@ -156,7 +156,7 @@
<title>コールバック関数として匿名関数を使用</title>
<programlisting role="php">
$av = array("the ","a ","that ","this ");
-array_walk($av, create_function('&$v,$k','$v = $v."mango";'));
+array_walk($av, create_function('&$v,$k','$v = $v."mango";'));
print_r($av); // for PHP3 use var_dump()
// 出力:
// Array
Index: phpdoc/ja/functions/gmp.xml
diff -u phpdoc/ja/functions/gmp.xml:1.3 phpdoc/ja/functions/gmp.xml:1.4
--- phpdoc/ja/functions/gmp.xml:1.3 Thu Jan 4 22:29:04 2001
+++ phpdoc/ja/functions/gmp.xml Thu Mar 1 07:24:45 2001
@@ -40,7 +40,7 @@
<programlisting role="php">
<?php
function fact($x) {
- if($x <= 1)
+ if($x <= 1)
return 1;
else
return gmp_mul($x,fact($x-1));
Index: phpdoc/ja/functions/mcal.xml
diff -u phpdoc/ja/functions/mcal.xml:1.12 phpdoc/ja/functions/mcal.xml:1.13
--- phpdoc/ja/functions/mcal.xml:1.12 Mon Feb 26 07:40:19 2001
+++ phpdoc/ja/functions/mcal.xml Thu Mar 1 07:24:45 2001
@@ -985,17 +985,17 @@
<title>説明</title>
<funcsynopsis>
<funcprototype>
- <funcdef>int <function>mcal_</function></funcdef>
+ <funcdef>int <function>mcal_day_of_week</function></funcdef>
<paramdef>int <parameter>year</parameter></paramdef>
<paramdef>int <parameter>month</parameter></paramdef>
<paramdef>int <parameter>day</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
- <function>mcal_day_of_week</function> は、
- 指定した日の曜日を返します。</para>
- <para>
- true を返します。</para>
+ <function>mcal_day_of_week</function> は、指定した日の曜日を返し
+
+ます。返される値の範囲は、日曜日を意味する0から土曜日を意味する6
+ までです。
+ </para>
</refsect1>
</refentry>
Index: phpdoc/ja/functions/ovrimos.xml
diff -u phpdoc/ja/functions/ovrimos.xml:1.2 phpdoc/ja/functions/ovrimos.xml:1.3
--- phpdoc/ja/functions/ovrimos.xml:1.2 Thu Jan 4 22:29:04 2001
+++ phpdoc/ja/functions/ovrimos.xml Thu Mar 1 07:24:45 2001
@@ -358,10 +358,10 @@
$res=ovrimos_exec ($conn,"select table_id, table_name from sys.tables");
if ($res != 0) {
echo "Statement ok!";
- if (ovrimos_fetch_into ($res, &$row)) {
+ if (ovrimos_fetch_into ($res, &$row)) {
list ($table_id, $table_name) = $row;
echo "table_id=".$table_id.", table_name=".$table_name."\n";
- if (ovrimos_fetch_into ($res, &$row)) {
+ if (ovrimos_fetch_into ($res, &$row)) {
list ($table_id, $table_name) = $row;
echo "table_id=".$table_id.", table_name=".$table_name."\n";
} else {
@@ -548,7 +548,7 @@
echo "Statement ok! cursor=".ovrimos_cursor ($res)."\n";
$colnb = ovrimos_num_fields ($res);
echo "Output columns=".$colnb."\n";
- for ($i=1; $i<=$colnb; $i++) {
+ for ($i=1; $i<=$colnb; $i++) {
$name = ovrimos_field_name ($res, $i);
$type = ovrimos_field_type ($res, $i);
$len = ovrimos_field_len ($res, $i);
Index: phpdoc/ja/functions/sesam.xml
diff -u phpdoc/ja/functions/sesam.xml:1.5 phpdoc/ja/functions/sesam.xml:1.6
--- phpdoc/ja/functions/sesam.xml:1.5 Thu Jan 4 22:29:05 2001
+++ phpdoc/ja/functions/sesam.xml Thu Mar 1 07:24:45 2001
@@ -779,7 +779,7 @@
<?php
if (sesam_connect ("mycatalog", "myschema", "otto")) {
if (sesam_execimm("INSERT INTO mytable VALUES (*, 'Small Test', <0, 8, 15>)")
- && sesam_execimm("INSERT INTO othertable VALUES (*, 'Another Test', 1)"))
+ && sesam_execimm("INSERT INTO othertable VALUES (*, 'Another Test', 1)"))
sesam_commit();
else
sesam_rollback();
@@ -1809,7 +1809,7 @@
}
// テーブルを出力します
print "<TABLE BORDER>\n";
-while (($row = sesam_fetch_array ($result)) && count($row) > 0) {
+while (($row = sesam_fetch_array ($result)) && count($row) > 0) {
print " <TR>\n";
print "
<TD>".htmlspecialchars($row["firstname"])."</TD>\n";
print "
<TD>".htmlspecialchars($row["lastname"])."</TD>\n";
Index: phpdoc/ja/functions/zlib.xml
diff -u phpdoc/ja/functions/zlib.xml:1.8 phpdoc/ja/functions/zlib.xml:1.9
--- phpdoc/ja/functions/zlib.xml:1.8 Thu Jan 4 22:29:05 2001
+++ phpdoc/ja/functions/zlib.xml Thu Mar 1 07:24:45 2001
@@ -610,7 +610,7 @@
<refentry id="function.gzcompress">
<refnamediv>
<refname>gzcompress</refname>
- <refpurpose>文字列をgz圧縮する</refpurpose>
+ <refpurpose>文字列をdeflate圧縮する</refpurpose>
</refnamediv>
<refsect1>
<title>説明</title>
@@ -626,11 +626,18 @@
</funcprototype>
</funcsynopsis>
<para>
-
この関数は、入力<parameter>data</parameter>のgzip圧縮バージョンを
- 返し、エラーの場合にfalseを返します。
+ この関数は、入力<parameter>data</parameter>をdeflateアルゴリズム
+
+によりgzip圧縮されたものを返し、エラーの場合にfalseを返します。
オプションのパラメータ<parameter>level</parameter>には、
0で圧縮無し、9で最大限の圧縮を指定できます。
</para>
+ <note>
+ <para>
+ これは、いくつかのヘッダデータを有する gzip
+圧縮と同じではありま
+ せん。gzip圧縮については、<function>gzencode</function>を参照下
+ さい。
+ </para>
+ </note>
<para>
<function>gzuncompress</function>も参照下さい。
</para>
@@ -640,7 +647,7 @@
<refentry id="function.gzuncompress">
<refnamediv>
<refname>gzuncompress</refname>
- <refpurpose>gz圧縮された文字列を解凍する</refpurpose>
+ <refpurpose>deflate圧縮された文字列を解凍する</refpurpose>
</refnamediv>
<refsect1>
<title>説明</title>
Index: phpdoc/ja/language/control-structures.xml
diff -u phpdoc/ja/language/control-structures.xml:1.14
phpdoc/ja/language/control-structures.xml:1.15
--- phpdoc/ja/language/control-structures.xml:1.14 Tue Oct 31 14:17:32 2000
+++ phpdoc/ja/language/control-structures.xml Thu Mar 1 07:24:45 2001
@@ -700,8 +700,9 @@
</informalexample>
</para>
<para>
- defaultは、case文の特別な場合です。これは、他の全てのcaseに
- マッチしない場合に、実行されます。例を以下に示します。
+ defaultは、case文の特別な場合です。これは他の全てのcaseに
+ マッチしない場合に実行され、最後の <literal>case</literal>
+文に置
+ く必要があります。例を以下に示します。
<informalexample>
<programlisting role="php">
switch ($i) {
Index: phpdoc/ja/language/references.xml
diff -u phpdoc/ja/language/references.xml:1.3 phpdoc/ja/language/references.xml:1.4
--- phpdoc/ja/language/references.xml:1.3 Mon Dec 11 13:42:13 2000
+++ phpdoc/ja/language/references.xml Thu Mar 1 07:24:45 2001
@@ -102,9 +102,10 @@
<varname>$bar</varname>と結合されますが、
<varname>$GLOBALS["baz"]</varname>に再結合されるといったものになり
ます。<varname>$bar</varname>は関数fooで利用できないため、リファレ
-
ンス以外にはコール側の<varname>$bar</varname>を何かに結合する手段
-
はありません。(この変数は、<varname>$var</varname>として表されてい
-
ますが、<varname>$var</varname>はその変数の内容のみを有しており、
+
+ンス以外にはコール側の変数スコープにある<varname>$bar</varname>を
+ 何かに結合する手段はありません。(この変数は、
+ <varname>$var</varname>として表されていますが、
+ <varname>$var</varname>はその変数の内容のみを有しており、
コール側のシンボルテーブルで名前と変数を結合したものではありません。)
</simpara>
</sect1>
Index: phpdoc/ja/language/types.xml
diff -u phpdoc/ja/language/types.xml:1.7 phpdoc/ja/language/types.xml:1.8
--- phpdoc/ja/language/types.xml:1.7 Thu Dec 14 06:45:17 2000
+++ phpdoc/ja/language/types.xml Thu Mar 1 07:24:45 2001
@@ -95,8 +95,8 @@
<para>
よって、小数の最後の桁を信用してはいかませんし、小数が等しいとい
う比較を行ってはいけません。より高い精度が必要な場合には、
- <link linkend="ref.bc">任意精度数学関数</link>を代わりに使用して
- 下さい。
+ <link linkend="ref.bc">任意精度数学関数</link>または
+ <link linkend="ref.gmp">gmp</link>関数を代わりに使用して下さい。
</para>
</warning>
</sect1>
@@ -161,10 +161,14 @@
</tgroup>
</table>
</para>
+
<para>
- 他の文字をエスケープすることも可能ですが、
- 警告レベルを最高にした場合には警告が発生します。
+
+他の文字をエスケープしたい場合には、バックスラッシュとその文字は出
+ 力されます。PHP 3では、この場合、レベル
+ <literal>E_NOTICE</literal>で警告が発生しました。PHP
+4では、警告は
+ 発生しません。
</para>
+
<para>
文字列を区切る2番目の方法はシングルクオート文字("'")を使う方法です。
ある文字列が引用符で括られている場合、
@@ -177,11 +181,15 @@
文字列を区切る別の方法としてヒアドキュメント構文("<<<")
があります。この場合、あるIDを<literal><<<</literal>の後
に指定し、文字列を置いた後で、同じIDを括りを閉じるために置きます。
+ </simpara>
+
+ <simpara>
終端IDは、その行の最初のカラムから始める必要があります。使用するラ
ベルは、PHPの他のラベルと同様の名前に関する規則に従う必要がありま
す。つまり、英数字およびアンダースコアのみを含み、数字でない文字ま
たはアンダースコアで始まる必要があります。
</simpara>
+
<para>
ヒアドキュメントは、2重引用符を使用せませんが、2重引用符で括られた
文字列と全く同様に動作します。しかし、この場合でも上記のリストでエ
Index: phpdoc/ja/appendices/reserved.xml
+++ phpdoc/ja/appendices/reserved.xml
<appendix id="reserved">
<title>PHPの予約語</title>
<para>
以下にPHPの予約語と定数の一覧を示します。
<itemizedlist>
<listitem>
<simpara>
<link linkend="language.operators.logical">and</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.break">break</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.switch">case</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="keyword.class">class</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.continue">continue</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.switch">default</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.do.while">do</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.else">else</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.elseif">elseif</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>empty</function>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.alternative-syntax">endfor</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.alternative-syntax">endif</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.alternative-syntax">endswitch</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.alternative-syntax">endwhile</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">E_ALL</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">E_PARSE</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">E_ERROR</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">E_WARNING</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="keyword.class">extends</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants"><literal>FALSE</literal></link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.for">for</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.foreach">foreach</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="functions.user-defined">function</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.if">if</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>include</function>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>include_once</function>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.variables.scope">global</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>list</function>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="keyword.class">new</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.operators.logical">not</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.operators.logical">or</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">PHP_OS</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">PHP_VERSION</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>require</function>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>require_once</function>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="functions.user-defined">return</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.variables.scope">static</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.switch">switch</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="keyword.class">this</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants"><literal>TRUE</literal></link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="keyword.class">var</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.operators.logical">xor</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<function>virtual</function>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="control-structures.while">while</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">__FILE__</link>.
</simpara>
</listitem>
<listitem>
<simpara>
<link linkend="language.constants">__LINE__</link>.
</simpara>
</listitem>
</itemizedlist>
</para>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->