cvs: phpdoc-ja / language-snippets.ent /appendices comparisons.xml /reference/ctype/functions ctype-alnum.xml /reference/curl/functions
curl-setopt.xml /reference/dbase reference.xml /reference/errorfunc examples.xml /reference/ibm_db2/functions db2-exec.xml db2-execute.xml
/reference/icap reference.xml /reference/image configure.xml reference.xml /reference/image/functions imageftbbox.xml imagefttext.xml
/reference/memcache ini.xml /reference/mysqli/functions mysqli-stmt-prepare.xml /reference/pcre/functions preg-replace.xml /reference/sdo
reference.xml /reference/strings/functions setlocale.xml /reference/zip/functions zip-entry-close.xml zip-entry-compressedsize.xml

From: Date: Sun, 08 Oct 2006 04:45:25 +0000
Subject: cvs: phpdoc-ja / language-snippets.ent /appendices comparisons.xml /reference/ctype/functions ctype-alnum.xml /reference/curl/functions
curl-setopt.xml /reference/dbase reference.xml /reference/errorfunc examples.xml /reference/ibm_db2/functions db2-exec.xml db2-execute.xml
/reference/icap reference.xml /reference/image configure.xml reference.xml /reference/image/functions imageftbbox.xml imagefttext.xml
/reference/memcache ini.xml /reference/mysqli/functions mysqli-stmt-prepare.xml /reference/pcre/functions preg-replace.xml /reference/sdo
reference.xml /reference/strings/functions setlocale.xml /reference/zip/functions zip-entry-close.xml zip-entry-compressedsize.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1621@lists.php.net to get a copy of this message
takagi Sun Oct 8 04:45:25 2006 UTC Modified files: /phpdoc-ja/reference/zip/functions zip-entry-compressedsize.xml zip-entry-close.xml /phpdoc-ja/reference/strings/functions setlocale.xml /phpdoc-ja/reference/sdo reference.xml /phpdoc-ja/reference/pcre/functions preg-replace.xml /phpdoc-ja/reference/mysqli/functions mysqli-stmt-prepare.xml /phpdoc-ja/reference/memcache ini.xml /phpdoc-ja/reference/image/functions imagefttext.xml imageftbbox.xml /phpdoc-ja/reference/image reference.xml configure.xml /phpdoc-ja/reference/icap reference.xml /phpdoc-ja/reference/ibm_db2/functions db2-execute.xml db2-exec.xml /phpdoc-ja/reference/errorfunc examples.xml /phpdoc-ja/reference/dbase reference.xml /phpdoc-ja/reference/curl/functions curl-setopt.xml /phpdoc-ja/reference/ctype/functions ctype-alnum.xml /phpdoc-ja/appendices comparisons.xml /phpdoc-ja language-snippets.ent Log: sync with en.

http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/zip/functions/zip-entry-compressedsize.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-ja/reference/zip/functions/zip-entry-compressedsize.xml diff -u phpdoc-ja/reference/zip/functions/zip-entry-compressedsize.xml:1.4 phpdoc-ja/reference/zip/functions/zip-entry-compressedsize.xml:1.5 --- phpdoc-ja/reference/zip/functions/zip-entry-compressedsize.xml:1.4 Mon Jan 3 17:08:54 2005 +++ phpdoc-ja/reference/zip/functions/zip-entry-compressedsize.xml Sun Oct 8 04:45:23 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready --> <refentry id="function.zip-entry-compressedsize"> <refnamediv> <refname>zip_entry_compressedsize</refname> - <refpurpose>ディレクトリエントリの圧縮時のサイズを取得す</refpurpose> + <refpurpose>ディレクトリエントリの圧縮時のサイズを取得する</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/zip/functions/zip-entry-close.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/zip/functions/zip-entry-close.xml diff -u phpdoc-ja/reference/zip/functions/zip-entry-close.xml:1.7 phpdoc-ja/reference/zip/functions/zip-entry-close.xml:1.8 --- phpdoc-ja/reference/zip/functions/zip-entry-close.xml:1.7 Mon Aug 14 21:07:35 2006 +++ phpdoc-ja/reference/zip/functions/zip-entry-close.xml Sun Oct 8 04:45:23 2006 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <refentry id="function.zip-entry-close"> <refnamediv> <refname>zip_entry_close</refname> - <refpurpose>ディレクトリエントリをクローズする</refpurpose> + <refpurpose>ディレクトリエントリを閉じる</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -14,7 +14,7 @@ <methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam> </methodsynopsis> <para> - 指定されたディレクトリエントリをクローズします。 + 指定されたディレクトリエントリを閉じます。 </para> </refsect1> <refsect1 role="parameters"> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/strings/functions/setlocale.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/strings/functions/setlocale.xml diff -u phpdoc-ja/reference/strings/functions/setlocale.xml:1.6 phpdoc-ja/reference/strings/functions/setlocale.xml:1.7 --- phpdoc-ja/reference/strings/functions/setlocale.xml:1.6 Mon Oct 17 12:36:56 2005 +++ phpdoc-ja/reference/strings/functions/setlocale.xml Sun Oct 8 04:45:23 2006 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./ja/functions/strings.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.26 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.27 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.setlocale"> <refnamediv> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/sdo/reference.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/reference/sdo/reference.xml diff -u phpdoc-ja/reference/sdo/reference.xml:1.5 phpdoc-ja/reference/sdo/reference.xml:1.6 --- phpdoc-ja/reference/sdo/reference.xml:1.5 Sun Jun 11 19:54:23 2006 +++ phpdoc-ja/reference/sdo/reference.xml Sun Oct 8 04:45:24 2006 @@ -1,9 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.23 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.25 Maintainer: takagi Status: ready --> <!-- Purpose: database.abstract --> <!-- Membership: pecl --> -<!-- State: experimental --> <reference id="ref.sdo"> <title>SDO 関数</title> @@ -42,7 +41,7 @@ Service Data Objects specification </ulink> の概念に由来するものです。 - <ulink url="&url.apache.tuscany;">Apache Tuscany</ulink> SDO 2.0 for C++ project + <ulink url="&url.apache.tuscany;">Apache Tuscany</ulink> SDO for C++ project を含んでいます。 </para> @@ -96,6 +95,15 @@ <section id="sdo.installation"> &reftitle.install; + <note> + <para> + 初期のバージョンの SDO 拡張モジュールは、XML DAS + 用に別の共有ライブラリが必要でした。これは今は使われていないので、 + <filename>php_sdo_das_xml.dll</filename> や + <filename>sdo_das_xml.so</filename> への参照を + &php.ini; から削除してください。 + </para> + </note> <procedure id='sdo.install.unix'> <title>Unix システム</title> <step> @@ -109,7 +117,7 @@ </screen> </para> <para> - このコマンドは SDO および XML 共有ライブラリをビルドし、 + このコマンドは SDO 共有ライブラリをビルドし、 リレーショナル DAS の PHP ファイルをインストールします。 </para> <para> @@ -123,13 +131,12 @@ </step> <step> <para> - <command>pecl</command> コマンドは、SDO および SDO_DAS_XML + <command>pecl</command> コマンドは、SDO モジュールを自動的に PHP 拡張モジュールディレクトリにインストールします。 SDO 拡張モジュールを有効にするには、以下の行を &php.ini; に追加しなければなりません。 <screen> <![CDATA[ extension=sdo.so -extension=sdo_das_xml.so ]]> </screen> </para> @@ -145,9 +152,8 @@ <title>Windows</title> <step> <para> - SDO コアおよび XML DAS の最新版の DLL は、それぞれ - <ulink url='&url.pecl.win.ext;php_sdo.dll'>php_sdo.dll</ulink> および - <ulink url='&url.pecl.win.ext;php_sdo_das_xml.dll'>php_sdo_das_xml.dll</ulink> + SDO の最新版の DLL は、 + <ulink url='&url.pecl.win.ext;php_sdo.dll'>php_sdo.dll</ulink> からダウンロードできます。 </para> <para> @@ -158,14 +164,13 @@ </step> <step> <para> - <command>pecl</command> コマンドは、SDO および SDO_DAS_XML + <command>pecl</command> コマンドは、SDO モジュールを自動的に PHP 拡張モジュールディレクトリにインストールします。 SDO 拡張モジュールを有効にするには、以下の行を &php.ini; に追加しなければなりません。 <screen> <![CDATA[ extension=php_sdo.dll -extension=php_sdo_das_xml.dll ]]> </screen> </para> @@ -205,8 +210,7 @@ <step> <para> <command>phpize</command> を実行します。これにより、 - SDO および XML データアクセスサービスをコンパイルするための - 環境を設定します。 + SDO をコンパイルするための環境を設定します。 </para> </step> <step> @@ -219,9 +223,8 @@ <step> <para> &php.ini; ファイルに - <command>extension=sdo.so</command> および - <command>extension=sdo_das_xml.so</command> をこの順序で - 追加することで、これらのモジュールが PHP に読み込まれるようにします。 + <command>extension=sdo.so</command> + を追加することで、このモジュールが PHP に読み込まれるようにします。 </para> </step> </procedure> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/pcre/functions/preg-replace.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-ja/reference/pcre/functions/preg-replace.xml diff -u phpdoc-ja/reference/pcre/functions/preg-replace.xml:1.9 phpdoc-ja/reference/pcre/functions/preg-replace.xml:1.10 --- phpdoc-ja/reference/pcre/functions/preg-replace.xml:1.9 Fri Jun 23 21:02:13 2006 +++ phpdoc-ja/reference/pcre/functions/preg-replace.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.17 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.18 Maintainer: hirokawa Status: ready --> <!-- Credits: haruki --> <refentry id="function.preg-replace"> <refnamediv> @@ -84,7 +84,7 @@ <parameter>pattern</parameter> および <parameter>replacement</parameter> のいずれもが配列の場合、各 <parameter>pattern</parameter> は 対応する <parameter>replacement</parameter> に置換されます。 - もし、<parameter>replacement</parameter> 配列が <parameter>pattern</parameter> + もし、<parameter>replacement</parameter> 配列の要素の数が <parameter>pattern</parameter> 配列よりも少ない場合は、余った <parameter>pattern</parameter> は 空文字に置換されます。 </para> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mysqli/functions/mysqli-stmt-prepare.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-ja/reference/mysqli/functions/mysqli-stmt-prepare.xml diff -u phpdoc-ja/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.1 phpdoc-ja/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.2 --- phpdoc-ja/reference/mysqli/functions/mysqli-stmt-prepare.xml:1.1 Sun Sep 25 05:43:27 2005 +++ phpdoc-ja/reference/mysqli/functions/mysqli-stmt-prepare.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry id="function.mysqli-stmt-prepare"> <refnamediv> <refname>mysqli_stmt_prepare</refname> @@ -146,7 +146,7 @@ $city = "Amersfoort"; /* プリペアドステートメントを作成します */ -$stmt = mysqli_stmt_init(); +$stmt = mysqli_stmt_init($link); if ($stmt = mysqli_stmt_prepare($stmt, "SELECT District FROM City WHERE Name=?")) { /* マーカにパラメータをバインドします */ http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/memcache/ini.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-ja/reference/memcache/ini.xml diff -u phpdoc-ja/reference/memcache/ini.xml:1.2 phpdoc-ja/reference/memcache/ini.xml:1.3 --- phpdoc-ja/reference/memcache/ini.xml:1.2 Tue Sep 12 03:50:47 2006 +++ phpdoc-ja/reference/memcache/ini.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <section id="memcache.ini"> &reftitle.runtime; &extension.runtime; @@ -39,7 +39,7 @@ </tgroup> </table> &ini.php.constants; -</para> + </para> &ini.descriptions.title; @@ -58,6 +58,20 @@ </listitem> </varlistentry> + <varlistentry id="ini.memcache.max-failover-attempts"> + <term> + <parameter>memcache.max_failover_attempts</parameter> + <type>integer</type> + </term> + <listitem> + <para> + データの設定や取得を試みるサーバの数を指定します。 + memcache.allow_failover を指定した場合にのみ使用します。 + この項目は、バージョン 2.1.0 以降で使用可能です。 + </para> + </listitem> + </varlistentry> + <varlistentry id="ini.memcache.chunk-size"> <term> <parameter>memcache.chunk_size</parameter> @@ -87,7 +101,7 @@ </varlistentry> </variablelist> - </para> +</para> </section> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/image/functions/imagefttext.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/reference/image/functions/imagefttext.xml diff -u phpdoc-ja/reference/image/functions/imagefttext.xml:1.5 phpdoc-ja/reference/image/functions/imagefttext.xml:1.6 --- phpdoc-ja/reference/image/functions/imagefttext.xml:1.5 Sat Jul 2 08:00:47 2005 +++ phpdoc-ja/reference/image/functions/imagefttext.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.6 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id='function.imagefttext'> <refnamediv> @@ -25,6 +25,8 @@ </methodsynopsis> <para> &warn.undocumented.func; + &note.gd.2; + &note.freetype; </para> <note> <para> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/image/functions/imageftbbox.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/reference/image/functions/imageftbbox.xml diff -u phpdoc-ja/reference/image/functions/imageftbbox.xml:1.5 phpdoc-ja/reference/image/functions/imageftbbox.xml:1.6 --- phpdoc-ja/reference/image/functions/imageftbbox.xml:1.5 Sat Jul 2 08:00:47 2005 +++ phpdoc-ja/reference/image/functions/imageftbbox.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.6 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id='function.imageftbbox'> <refnamediv> @@ -21,6 +21,8 @@ </methodsynopsis> <para> &warn.undocumented.func; + &note.gd.2; + &note.freetype; </para> <note> <para> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/image/reference.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-ja/reference/image/reference.xml diff -u phpdoc-ja/reference/image/reference.xml:1.11 phpdoc-ja/reference/image/reference.xml:1.12 --- phpdoc-ja/reference/image/reference.xml:1.11 Wed Jun 7 03:13:46 2006 +++ phpdoc-ja/reference/image/reference.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.27 Maintainer: hirokawa Status: ready --> -<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.28 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.12 $ --> <!-- Purpose: utilspec.image --> <!-- Membership: bundled --> @@ -29,11 +29,21 @@ 大きさを知ることができます。 </para> <para> + <link linkend="ref.exif">exif 拡張モジュール</link> を使用すると、 + <acronym>JPEG</acronym> や <acronym>TIFF</acronym> + 画像のヘッダに保存された情報を扱うことができます。 + これにより、デジタルカメラが作成したメタデータを読み込むことができます。 + exif 関数は <acronym>GD</acronym> ライブラリを必要としません。 + </para> + + <para> <note> <simpara> - イメージの読み込み、書き込み、修正の機能の拡張、デジタルカメラ - により撮影された画像のメタデータを読み込むには、要求の節を読ん - でください。 + イメージの読み込み、書き込み、修正の機能を拡張するには、 + 要求の節を呼んでください。 + デジタルカメラで撮影した画像のメタデータを読み込むには、 + 上で説明した <link linkend="ref.exif">exif + 拡張モジュール</link> が必要です。 </simpara> </note> </para> @@ -147,22 +157,13 @@ <entry><literal>T1lib</literal></entry> <entry><ulink url="&url.t1lib;">&url.t1lib;</ulink>)</entry> <entry> - Type 1フォントをサポートします。 + Postscript Type 1 フォントをサポートします。 </entry> </row> </tbody> </tgroup> </table> </para> - - <para> - <option role="configure">--enable-exif</option>を指定してPHPをコ - ンパイルした場合、<acronym>JPEG</acronym>および - <acronym>TIFF</acronym>イメージのヘッダに格納された情報を処理する - ことができるようになります。これにより、以下に示すようにデジタル - カメラにより生成されたメタデータを読むことができるようになります。 - 以下の関数は、<acronym>GD</acronym>ライブラリを必要としません。 - </para> </section> &reference.image.configure; http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/image/configure.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/reference/image/configure.xml diff -u phpdoc-ja/reference/image/configure.xml:1.5 phpdoc-ja/reference/image/configure.xml:1.6 --- phpdoc-ja/reference/image/configure.xml:1.5 Tue Jun 13 21:23:01 2006 +++ phpdoc-ja/reference/image/configure.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <section id="image.installation"> &reftitle.install; @@ -20,12 +20,6 @@ <function>imagecreatetruecolor</function>のようにTrueカラーが優先される関数 についてはGD2が必須です。 </para> - <note> - <para> - Windows で exif サポートを有効にするには、php.ini 内で php_mbstring.dll - を php_exif.dll の前にロードする必要があります。 - </para> - </note> <para id="image.configure.php3"> PHP3においてGDサポートを無効にするには <option role="configure">--without-gd</option>を指定してください。 @@ -107,7 +101,7 @@ <row> <entry><literal>T1lib</literal></entry> <entry> - T1lib (Type 1 fonts) をサポートするには + T1lib (Postscript Type 1 フォント) をサポートするには <option role="configure">--with-t1lib[=DIR]</option>を指定します。 </entry> </row> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/icap/reference.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/icap/reference.xml diff -u phpdoc-ja/reference/icap/reference.xml:1.6 phpdoc-ja/reference/icap/reference.xml:1.7 --- phpdoc-ja/reference/icap/reference.xml:1.6 Mon Sep 5 11:34:06 2005 +++ phpdoc-ja/reference/icap/reference.xml Sun Oct 8 04:45:24 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: hirokawa Status: ready --> <!-- State: deprecated --> <reference id="ref.icap"> - <title>ICAP 関数(非推奨)</title> + <title>ICAP 関数 (削除されました)</title> <titleabbrev>ICAP</titleabbrev> <partintro> @@ -12,8 +12,8 @@ &reftitle.intro; <note> <simpara> - icapサポートは、近い将来削除されます。このモジュールも - icap ライブラリの対応するバージョンもサポートされなくなります。 + icap サポートは、PHP から削除されました。このモジュールも + icap ライブラリの対応するバージョンも、もはやサポートされません。 カレンダー機能を PHP で使用したい場合は、代わりに <link linkend="ref.mcal">mcal</link> を使用してください。 </simpara> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ibm_db2/functions/db2-execute.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-ja/reference/ibm_db2/functions/db2-execute.xml diff -u phpdoc-ja/reference/ibm_db2/functions/db2-execute.xml:1.1 phpdoc-ja/reference/ibm_db2/functions/db2-execute.xml:1.2 --- phpdoc-ja/reference/ibm_db2/functions/db2-execute.xml:1.1 Sun Feb 19 04:55:55 2006 +++ phpdoc-ja/reference/ibm_db2/functions/db2-execute.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> <refentry id="function.db2-execute"> <refnamediv> <refname>db2_execute</refname> @@ -134,8 +134,202 @@ ]]> </screen> </example> + <example> + <title>XML データを SQL の結果セットとして返す</title> + <para> + 次の例は、XML カラムに格納されたデータの扱い方を、SAMPLE + データベースを用いて説明するものです。ごく単純な SQL/XML + を使用して、この例では XML ドキュメントのいくつかのノードを + みなさんおなじみの SQL 結果セット形式で返します。 + </para> + <programlisting role="php"> +<![CDATA[ +<?php + +$conn = db2_connect("SAMPLE", "db2inst1", "ibmdb2"); + +$query = 'SELECT * FROM XMLTABLE( + XMLNAMESPACES (DEFAULT \'http://posample.org\'), + \'db2-fn:xmlcolumn("CUSTOMER.INFO")/customerinfo\' + COLUMNS + "CID" VARCHAR (50) PATH \'@Cid\', + "NAME" VARCHAR (50) PATH \'name\', + "PHONE" VARCHAR (50) PATH \'phone [ @type = "work"]\' + ) AS T + WHERE NAME = ? + '; + +$stmt = db2_prepare($conn, $query); + +$name = 'Kathy Smith'; + +if ($stmt) { + db2_bind_param($stmt, 1, "name", DB2_PARAM_IN); + db2_execute($stmt); + + while($row = db2_fetch_object($stmt)){ + printf("$row->CID $row->NAME $row->PHONE\n"); + } +} +db2_close($conn); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +1000 Kathy Smith 416-555-1358 +1001 Kathy Smith 905-555-7258 +]]> + </screen> + </example> + <example> + <title>XML データの "JOIN"</title> + <para> + 次の例は、SAMPLE データベースの 2 つの異なる + XML カラムに格納されたドキュメントを使用します。 + まず、2 つの異なるカラムの XML ドキュメントをもとにして + 2 つのテンポラリテーブルを作成します。 + そして特定の顧客の配送情報を SQL 結果セットで返します。 + </para> + <programlisting role="php"> +<![CDATA[ +<?php + +$conn = db2_connect("SAMPLE", "db2inst1", "ibmdb2"); + +$query = ' +SELECT A.CID, A.NAME, A.PHONE, C.PONUM, C.STATUS +FROM +XMLTABLE( +XMLNAMESPACES (DEFAULT \'http://posample.org\'), +\'db2-fn:xmlcolumn("CUSTOMER.INFO")/customerinfo\' +COLUMNS +"CID" BIGINT PATH \'@Cid\', +"NAME" VARCHAR (50) PATH \'name\', +"PHONE" VARCHAR (50) PATH \'phone [ @type = "work"]\' +) as A, +PURCHASEORDER AS B, +XMLTABLE ( +XMLNAMESPACES (DEFAULT \'http://posample.org\'), +\'db2-fn:xmlcolumn("PURCHASEORDER.PORDER")/PurchaseOrder\' +COLUMNS +"PONUM" BIGINT PATH \'@PoNum\', +"STATUS" VARCHAR (50) PATH \'@Status\' +) as C +WHERE A.CID = B.CUSTID AND + B.POID = C.PONUM AND + A.NAME = ? +'; + +$stmt = db2_prepare($conn, $query); + +$name = 'Kathy Smith'; + +if ($stmt) { + db2_bind_param($stmt, 1, "name", DB2_PARAM_IN); + db2_execute($stmt); + + while($row = db2_fetch_object($stmt)){ + printf("$row->CID $row->NAME $row->PHONE $row->PONUM $row->STATUS\n"); + } +} +db2_close($conn); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +1001 Kathy Smith 905-555-7258 5002 Shipped +]]> + </screen> + </example> + <example> + <title>大きな XML ドキュメントの一部を SQL データとして返す</title> + <para> + 次の例は、SAMPLE データベースのドキュメント PRODUCT.DESCRIPTION + の一部を使用します。これは、商品の説明 (XML データ) および価格情報 + (SQL データ) を含む XML ドキュメントを返します。 + </para> + <programlisting role="php"> +<![CDATA[ +<?php + +$conn = db2_connect("SAMPLE", "db2inst1", "ibmdb2"); + +$query = ' +SELECT +XMLSERIALIZE( +XMLQUERY(\' + declare boundary-space strip; + declare default element namespace "http://posample.org"; + <promoList> { + for $prod in $doc/product + where $prod/description/price < 10.00 + order by $prod/description/price ascending + return( + <promoitem> { + $prod, + <startdate> {$start} </startdate>, + <enddate> {$end} </enddate>, + <promoprice> {$promo} </promoprice> + } </promoitem> + ) + } </promoList> +\' passing by ref DESCRIPTION AS "doc", +PROMOSTART as "start", +PROMOEND as "end", +PROMOPRICE as "promo" +RETURNING SEQUENCE) +AS CLOB (32000)) +AS NEW_PRODUCT_INFO +FROM PRODUCT +WHERE PID = ? +'; + +$stmt = db2_prepare($conn, $query); + +$pid = "100-100-01"; + +if ($stmt) { + db2_bind_param($stmt, 1, "pid", DB2_PARAM_IN); + db2_execute($stmt); + + while($row = db2_fetch_array($stmt)){ + printf("$row[0]\n"); + } +} + +db2_close($conn); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +<promoList xmlns="http://posample.org"> + <promoitem> + <product pid="100-100-01"> + <description> + <name>Snow Shovel, Basic 22 inch</name> + <details>Basic Snow Shovel, 22 inches wide, straight handle with D-Grip</details> + <price>9.99</price> + <weight>1 kg</weight> + </description> + </product> + <startdate>2004-11-19</startdate> + <enddate>2004-12-19</enddate> + <promoprice>7.25</promoprice> + </promoitem> +</promoList> +]]> + </screen> + </example> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ibm_db2/functions/db2-exec.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-ja/reference/ibm_db2/functions/db2-exec.xml diff -u phpdoc-ja/reference/ibm_db2/functions/db2-exec.xml:1.1 phpdoc-ja/reference/ibm_db2/functions/db2-exec.xml:1.2 --- phpdoc-ja/reference/ibm_db2/functions/db2-exec.xml:1.1 Sun Feb 19 04:55:55 2006 +++ phpdoc-ja/reference/ibm_db2/functions/db2-exec.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.7 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready --> <refentry id="function.db2-exec"> <refnamediv> <refname>db2_exec</refname> @@ -189,6 +189,180 @@ ]]> </screen> </example> + <example> + <title>XML データを SQL の結果セットとして返す</title> + <para> + 次の例は、XML カラムに格納されたデータの扱い方を、SAMPLE + データベースを用いて説明するものです。ごく単純な SQL/XML + を使用して、この例では XML ドキュメントのいくつかのノードを + みなさんおなじみの SQL 結果セット形式で返します。 + </para> + <programlisting role="php"> +<![CDATA[ +<?php + +$conn = db2_connect("SAMPLE", "db2inst1", "ibmdb2"); + +$query = 'SELECT * FROM XMLTABLE( + XMLNAMESPACES (DEFAULT \'http://posample.org\'), + \'db2-fn:xmlcolumn("CUSTOMER.INFO")/customerinfo\' + COLUMNS + "CID" VARCHAR (50) PATH \'@Cid\', + "NAME" VARCHAR (50) PATH \'name\', + "PHONE" VARCHAR (50) PATH \'phone [ @type = "work"]\' + ) AS T + WHERE NAME = \'Kathy Smith\' + '; +$stmt = db2_exec($conn, $query); + +while($row = db2_fetch_object($stmt)){ + printf("$row->CID $row->NAME $row->PHONE\n"); +} +db2_close($conn); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +1000 Kathy Smith 416-555-1358 +1001 Kathy Smith 905-555-7258 +]]> + </screen> + </example> + <example> + <title>XML データの "JOIN"</title> + <para> + 次の例は、SAMPLE データベースの 2 つの異なる + XML カラムに格納されたドキュメントを使用します。 + まず、2 つの異なるカラムの XML ドキュメントをもとにして + 2 つのテンポラリテーブルを作成します。 + そして特定の顧客の配送情報を SQL 結果セットで返します。 + </para> + <programlisting role="php"> +<![CDATA[ +<?php + +$conn = db2_connect("SAMPLE", "db2inst1", "ibmdb2"); + +$query = ' + SELECT A.CID, A.NAME, A.PHONE, C.PONUM, C.STATUS + FROM + XMLTABLE( + XMLNAMESPACES (DEFAULT \'http://posample.org\'), + \'db2-fn:xmlcolumn("CUSTOMER.INFO")/customerinfo\' + COLUMNS + "CID" BIGINT PATH \'@Cid\', + "NAME" VARCHAR (50) PATH \'name\', + "PHONE" VARCHAR (50) PATH \'phone [ @type = "work"]\' + ) as A, + PURCHASEORDER AS B, + XMLTABLE ( + XMLNAMESPACES (DEFAULT \'http://posample.org\'), + \'db2-fn:xmlcolumn("PURCHASEORDER.PORDER")/PurchaseOrder\' + COLUMNS + "PONUM" BIGINT PATH \'@PoNum\', + "STATUS" VARCHAR (50) PATH \'@Status\' + ) as C + WHERE A.CID = B.CUSTID AND + B.POID = C.PONUM AND + A.NAME = \'Kathy Smith\' +'; + +$stmt = db2_exec($conn, $query); + +while($row = db2_fetch_object($stmt)){ + printf("$row->CID $row->NAME $row->PHONE $row->PONUM $row->STATUS\n"); +} + +db2_close($conn); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +1001 Kathy Smith 905-555-7258 5002 Shipped +]]> + </screen> + </example> + <example> + <title>大きな XML ドキュメントの一部を SQL データとして返す</title> + <para> + 次の例は、SAMPLE データベースのドキュメント PRODUCT.DESCRIPTION + の一部を使用します。これは、商品の説明 (XML データ) および価格情報 + (SQL データ) を含む XML ドキュメントを返します。 + </para> + <programlisting role="php"> +<![CDATA[ +<?php + +$conn = db2_connect("SAMPLE", "db2inst1", "ibmdb2"); + +$query = ' +SELECT +XMLSERIALIZE( +XMLQUERY(\' + declare boundary-space strip; + declare default element namespace "http://posample.org"; + <promoList> { + for $prod in $doc/product + where $prod/description/price < 10.00 + order by $prod/description/price ascending + return( + <promoitem> { + $prod, + <startdate> {$start} </startdate>, + <enddate> {$end} </enddate>, + <promoprice> {$promo} </promoprice> + } </promoitem> + ) + } </promoList> +\' passing by ref DESCRIPTION AS "doc", +PROMOSTART as "start", +PROMOEND as "end", +PROMOPRICE as "promo" +RETURNING SEQUENCE) +AS CLOB (32000)) +AS NEW_PRODUCT_INFO +FROM PRODUCT +WHERE PID = \'100-100-01\' +'; + +$stmt = db2_exec($conn, $query); + +while($row = db2_fetch_array($stmt)){ + printf("$row[0]\n"); +} +db2_close($conn); + +?> +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +<promoList xmlns="http://posample.org"> + <promoitem> + <product pid="100-100-01"> + <description> + <name>Snow Shovel, Basic 22 inch</name> + <details>Basic Snow Shovel, 22 inches wide, straight handle with D-Grip</details> + <price>9.99</price> + <weight>1 kg</weight> + </description> + </product> + <startdate>2004-11-19</startdate> + <enddate>2004-12-19</enddate> + <promoprice>7.25</promoprice> + </promoitem> +</promoList> +]]> + </screen> + </example> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/errorfunc/examples.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-ja/reference/errorfunc/examples.xml diff -u phpdoc-ja/reference/errorfunc/examples.xml:1.4 phpdoc-ja/reference/errorfunc/examples.xml:1.5 --- phpdoc-ja/reference/errorfunc/examples.xml:1.4 Sun Jun 11 19:54:23 2006 +++ phpdoc-ja/reference/errorfunc/examples.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.8 Maintainer: elf Status: partial --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.9 Maintainer: elf Status: partial --> <section id="errorfunc.examples"> &reftitle.examples; <para> @@ -11,6 +11,7 @@ <title>スクリプト内でのエラー処理</title> <programlisting role="php"> <![CDATA[ +<?php // 自分のエラーハンドリングを行います error_reporting(0); @@ -20,10 +21,10 @@ // エラーエントリのタイムスタンプ $dt = date("Y-m-d H:i:s (T)"); - // define an assoc array of error string - // in reality the only entries we should - // consider are E_WARNING, E_NOTICE, E_USER_ERROR, - // E_USER_WARNING and E_USER_NOTICE + // エラー文字列の連想配列を定義します。 + // 実際のところ、考慮する必要があるのは + // E_WARNING、E_NOTICE、E_USER_ERROR、 + // E_USER_WARNING そして E_USER_NOTICE だけです。 $errortype = array ( E_ERROR => 'Error', E_WARNING => 'Warning', @@ -37,7 +38,7 @@ E_USER_WARNING => 'User Warning', E_USER_NOTICE => 'User Notice', E_STRICT => 'Runtime Notice', - E_RECOVERABLE_ERRROR => 'Catchable Fatal Error' + E_RECOVERABLE_ERROR => 'Catchable Fatal Error' ); // set of errors for which a var trace will be saved $user_errors = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE); http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/dbase/reference.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/dbase/reference.xml diff -u phpdoc-ja/reference/dbase/reference.xml:1.7 phpdoc-ja/reference/dbase/reference.xml:1.8 --- phpdoc-ja/reference/dbase/reference.xml:1.7 Fri May 12 21:24:48 2006 +++ phpdoc-ja/reference/dbase/reference.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <!-- Purpose: database.vendors --> <!-- Membership: bundled, external --> @@ -74,6 +74,12 @@ <literal>F</literal> あるいは <literal>N</literal> が &false; です。</entry> <entry>読み書きは整数値(1 または 0)で行われます。</entry> </row> + <row> + <entry><literal>F</literal></entry> + <entry>Float</entry> + <entry>浮動小数点数値</entry> + <entry>この型のフィールドのサポートは PHP 5.2.0 で追加されました。</entry> + </row> </tbody> </tgroup> </table> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/curl/functions/curl-setopt.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/curl/functions/curl-setopt.xml diff -u phpdoc-ja/reference/curl/functions/curl-setopt.xml:1.7 phpdoc-ja/reference/curl/functions/curl-setopt.xml:1.8 --- phpdoc-ja/reference/curl/functions/curl-setopt.xml:1.7 Fri Dec 9 23:30:17 2005 +++ phpdoc-ja/reference/curl/functions/curl-setopt.xml Sun Oct 8 04:45:24 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- EN-Revision: 1.21 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <refentry id="function.curl-setopt"> @@ -417,10 +417,11 @@ <row> <entry><constant>CURLOPT_HTTP_VERSION</constant></entry> <entry> - <parameter>CURL_HTTP_VERSION_NONE</parameter> (default, lets CURL - decide which version to use), - <parameter>CURL_HTTP_VERSION_1_0</parameter> (forces HTTP/1.0), - or <parameter>CURL_HTTP_VERSION_1_1</parameter> (forces HTTP/1.1). + <parameter>CURL_HTTP_VERSION_NONE</parameter> (デフォルト。 + 使用するバージョンを決めるのは CURL にまかせる)、 + <parameter>CURL_HTTP_VERSION_1_0</parameter> (HTTP/1.0 を使用する)、 + あるいは <parameter>CURL_HTTP_VERSION_1_1</parameter> (HTTP/1.1 を使用する) + のいずれかです。 </entry> <entry> </entry> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ctype/functions/ctype-alnum.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/ctype/functions/ctype-alnum.xml diff -u phpdoc-ja/reference/ctype/functions/ctype-alnum.xml:1.7 phpdoc-ja/reference/ctype/functions/ctype-alnum.xml:1.8 --- phpdoc-ja/reference/ctype/functions/ctype-alnum.xml:1.7 Thu Jul 27 03:31:29 2006 +++ phpdoc-ja/reference/ctype/functions/ctype-alnum.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <refentry id="function.ctype-alnum"> <refnamediv> @@ -18,7 +18,7 @@ 与えられた文字列 <parameter>text</parameter> のすべての文字が英字または 数字であるかどうかを調べます。標準の <literal>C</literal> ロケールの場合、 文字は <literal>[A-Za-z]</literal> で、この関数は - <literal>preg_match('/^[a-z0-9]+$/i', $text)</literal> と等価です。 + <literal>preg_match('/^[a-z0-9]+$/iD', $text)</literal> と等価です。 </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-ja/appendices/comparisons.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/appendices/comparisons.xml diff -u phpdoc-ja/appendices/comparisons.xml:1.3 phpdoc-ja/appendices/comparisons.xml:1.4 --- phpdoc-ja/appendices/comparisons.xml:1.3 Fri Dec 3 15:58:25 2004 +++ phpdoc-ja/appendices/comparisons.xml Sun Oct 8 04:45:24 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> <appendix id="types.comparisons"> <title>PHP 型の比較表</title> <para> @@ -210,6 +210,7 @@ <entry>&null;</entry> <entry><literal>array()</literal></entry> <entry><literal>"php"</literal></entry> + <entry><literal>""</literal></entry> </row> </thead> <tbody> @@ -226,6 +227,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&true;</entry> + <entry>&false;</entry> </row> <row> <entry>&false;</entry> @@ -240,6 +242,7 @@ <entry>&true;</entry> <entry>&true;</entry> <entry>&false;</entry> + <entry>&true;</entry> </row> <row> <entry><literal>1</literal></entry> @@ -254,6 +257,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>0</literal></entry> @@ -268,6 +272,7 @@ <entry>&true;</entry> <entry>&false;</entry> <entry>&true;</entry> + <entry>&true;</entry> </row> <row> <entry><literal>-1</literal></entry> @@ -282,6 +287,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"1"</literal></entry> @@ -296,6 +302,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"0"</literal></entry> @@ -310,6 +317,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"-1"</literal></entry> @@ -324,6 +332,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>NULL</literal></entry> @@ -338,6 +347,7 @@ <entry>&true;</entry> <entry>&true;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>array()</literal></entry> @@ -352,6 +362,7 @@ <entry>&true;</entry> <entry>&true;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"php"</literal></entry> @@ -366,6 +377,22 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&true;</entry> + <entry>&false;</entry> + </row> + <row> + <entry><literal>""</literal></entry> + <entry>&false;</entry> + <entry>&true;</entry> + <entry>&false;</entry> + <entry>&true;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&true;</entry> </row> </tbody> </tgroup> @@ -390,6 +417,7 @@ <entry>&null;</entry> <entry><literal>array()</literal></entry> <entry><literal>"php"</literal></entry> + <entry><literal>""</literal></entry> </row> </thead> <tbody> @@ -406,6 +434,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry>&false;</entry> @@ -420,6 +449,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>1</literal></entry> @@ -434,6 +464,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>0</literal></entry> @@ -448,6 +479,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>-1</literal></entry> @@ -462,6 +494,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"1"</literal></entry> @@ -476,6 +509,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"0"</literal></entry> @@ -490,6 +524,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"-1"</literal></entry> @@ -504,6 +539,7 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry>&null;</entry> @@ -518,6 +554,7 @@ <entry>&true;</entry> <entry>&false;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>array()</literal></entry> @@ -532,6 +569,7 @@ <entry>&false;</entry> <entry>&true;</entry> <entry>&false;</entry> + <entry>&false;</entry> </row> <row> <entry><literal>"php"</literal></entry> @@ -546,16 +584,32 @@ <entry>&false;</entry> <entry>&false;</entry> <entry>&true;</entry> + <entry>&false;</entry> + </row> + <row> + <entry><literal>""</literal></entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&false;</entry> + <entry>&true;</entry> </row> </tbody> </tgroup> </table> </para> <note> - <title>PHP 3.0 note</title> + <title>PHP 3.0 に関する注意</title> <para> - The string value <literal>"0"</literal> was considered non-empty in - PHP 3, this behavior changed in PHP 4 where it's now seen as empty. + 文字列 <literal>"0"</literal> は、PHP 3 では空の値とみなされませんでした。 + この挙動は PHP 4 で変更され、現在は空の値とみなされます。 </para> </note> </appendix> http://cvs.php.net/viewvc.cgi/phpdoc-ja/language-snippets.ent?r1=1.65&r2=1.66&diff_format=u Index: phpdoc-ja/language-snippets.ent diff -u phpdoc-ja/language-snippets.ent:1.65 phpdoc-ja/language-snippets.ent:1.66 --- phpdoc-ja/language-snippets.ent:1.65 Tue Sep 12 03:50:49 2006 +++ phpdoc-ja/language-snippets.ent Sun Oct 8 04:45:24 2006 @@ -1,5 +1,5 @@ -<!-- $Revision: 1.65 $ --> -<!-- EN-Revision: 1.173 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.66 $ --> +<!-- EN-Revision: 1.175 Maintainer: hirokawa Status: ready --> <!-- Credits: haruki,shimooka,takagi --> <!-- Notes --> @@ -233,6 +233,11 @@ <!ENTITY note.bundled.gd '<note><simpara>この関数は、PHP がバンドル版の GD ライブラリで コンパイルされている場合のみ使用可能です。</simpara></note>'> +<!ENTITY note.freetype '<note><simpara>この関数は、PHP が FreeType サポート +(<option role="configure">--with-freetype-dir=DIR</option>) +を有効にしてコンパイルされている場合のみ使用可能です。 +</simpara></note>'> + <!ENTITY note.gd.2 '<note><simpara>この関数は、GD 2.0.1 以降を必要とします (2.0.28 以降を推奨します)。</simpara></note>'> <!-- Date and time entities -->
« previous php.doc.ja (#1621) next »