Modified: phpdoc/ja/trunk/reference/libxml/book.xml =================================================================== --- phpdoc/ja/trunk/reference/libxml/book.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/libxml/book.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -12,11 +12,19 @@ &reftitle.intro; - 以下の関数/定数は、PHP 5.1.0 以降、 + これらの関数/定数は PHP 5.1.0 以降で使用可能です。 + また、以下にあげるコア拡張モジュールは、この libxml 拡張モジュールに依存しています。 DOM, - SimpleXML および - XSLT - のような libxml に基くエクステンションのどれかをコンパイルしている場合に利用可能です。 + libxml, + SimpleXML, + SOAP, + WDDX, + XSL, + XSLT, + XML, + XMLReader, + XMLRPC&listendand; + XMLWriter Modified: phpdoc/ja/trunk/reference/libxml/libxmlerror.xml =================================================================== --- phpdoc/ja/trunk/reference/libxml/libxmlerror.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/libxml/libxmlerror.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + &reftitle.intro; - libxml がスローするエラーについてのさまざまな情報を含みます。 + libxml がスローするエラーについてのさまざまな情報を含みます。エラーコードについての説明は、公式の + xmlError API ドキュメント + をごらんください。 + Modified: phpdoc/ja/trunk/reference/libxml/setup.xml =================================================================== --- phpdoc/ja/trunk/reference/libxml/setup.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/libxml/setup.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -19,7 +19,40 @@
&reftitle.install; - &no.install; + + libxml 拡張モジュールはデフォルトで有効となりますが、 + + で無効になっている可能性もあります。 + + + オプションの + ディレクティブを使って、PHP をコンパイルするシステム上での + libxml の位置を指定することができます。 + 指定しなければ、デフォルトの場所のみを探します。configure の際に libxml + (具体的には xml2-config) を探す順序は次のとおりです。 + + + + + で指定した ([DIR]) 場所 + ([DIR]/bin/xml2-config) + + + + + /usr/local/bin/xml2-config + + + + + /usr/bin/xml2-config + + + + + configure 時に で指定したディレクトリで + xml2-config が見つからない場合は、デフォルトの場所を探します。 +
Modified: phpdoc/ja/trunk/reference/mongo/mongo/forceerror.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongo/forceerror.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mongo/mongo/forceerror.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -41,7 +41,7 @@ sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/mongo/mongo/lasterror.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongo/lasterror.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mongo/mongo/lasterror.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -41,7 +41,7 @@ sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/mongo/mongo/preverror.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongo/preverror.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mongo/mongo/preverror.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -41,7 +41,7 @@ sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/mongo/mongo/reseterror.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongo/reseterror.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mongo/mongo/reseterror.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -41,7 +41,7 @@ sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/mongo/mongocollection/group.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongocollection/group.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mongo/mongocollection/group.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -108,12 +108,21 @@ &example.outputs.similar; +array(4) { + ["retval"]=> array(1) { - ["count"]=> - int(1) + [0]=> + array(1) { + ["count"]=> + float(1) + } } + ["count"]=> + float(1) + ["keys"]=> + int(1) + ["ok"]=> + float(1) } ]]> Modified: phpdoc/ja/trunk/reference/mongo/mongocollection/insert.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongocollection/insert.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mongo/mongocollection/insert.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -11,8 +11,9 @@ &reftitle.description; - public booleanMongoCollection::insert + public mixedMongoCollection::insert arraya + booleansafefalse @@ -30,6 +31,16 @@ + + + safe + + + + 追加に成功したことをデータベースに確認させるかどうか。 + + + @@ -37,17 +48,12 @@ &reftitle.returnvalues; - 配列が空でなかったかどうかを返します (空の配列は追加されません)。 + safe が設定されている場合は、 + 追加結果を含む配列を返します。設定されていない場合は、 + 配列が空でなかったかどうかをあらわす boolean 値を返します (空の配列は追加されません)。 - - &reftitle.returnvalues; - - 配列が保存されたかどうかを返します。 - - - &reftitle.examples; Modified: phpdoc/ja/trunk/reference/mysql/functions/mysql-insert-id.xml =================================================================== --- phpdoc/ja/trunk/reference/mysql/functions/mysql-insert-id.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mysql/functions/mysql-insert-id.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -70,10 +70,13 @@ mysql_insert_id() の返り値の型を long 型(PHP では int と呼ばれる) に変換します。 - AUTO_INCREMENT カラムが BIGINT 型である場合、 - mysql_insert_id で返される型は不正確になります。 - かわりに、MySQL の SQL 内部関数 - LAST_INSERT_ID() を使用してください。 + AUTO_INCREMENT カラムが BIGINT 型 (64 ビット) である場合、 + 変換結果は不正確になります。 + かわりに、MySQL の SQL 関数 + LAST_INSERT_ID() を SQL 内で使いましょう。 + PHP の integer 型の最大値に関する詳細な説明は、 + integer + のドキュメントをごらんください。 @@ -114,7 +117,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/mysql/functions/mysql-unbuffered-query.xml =================================================================== --- phpdoc/ja/trunk/reference/mysql/functions/mysql-unbuffered-query.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mysql/functions/mysql-unbuffered-query.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + mysql_unbuffered_query @@ -34,7 +34,7 @@ query - SQL クエリ。 + 実行する SQL クエリ。 クエリ内のデータは - + - mysqli::get_client_info + mysqli->get_client_info mysqli_get_client_info MySQL クライアントのバージョンを文字列で返す &reftitle.description; + オブジェクト指向型 (メソッド) + + stringmysqli::get_client_info + + + 手続き型 - stringmysqli::get_client_info - - - stringmysqli_get_client_info - + mysqlilink - mysqli_get_client_info 関数は、MySQLi - 拡張モジュールが使用しているクライアントのバージョンを文字列で返します。 + MySQL クライアントライブラリのバージョンを文字列で返します。 Modified: phpdoc/ja/trunk/reference/mysqli/mysqli/get-client-version.xml =================================================================== --- phpdoc/ja/trunk/reference/mysqli/mysqli/get-client-version.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mysqli/mysqli/get-client-version.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,22 +1,24 @@ - + - mysqli::get_client_version + mysqli->client_version mysqli_get_client_version MySQL クライアント情報を取得する &reftitle.description; + オブジェクト指向型 (プロパティ) + + mysqli + intclient_version + + 手続き型 - intmysqli::get_client_version - - - intmysqli_get_client_version - + mysqlilink クライアントのバージョン番号を整数値で返します。 Modified: phpdoc/ja/trunk/reference/mysqli/mysqli_result/fetch-all.xml =================================================================== --- phpdoc/ja/trunk/reference/mysqli/mysqli_result/fetch-all.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mysqli/mysqli_result/fetch-all.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + mysqli_result::fetch_all @@ -22,9 +22,6 @@ intresulttype - &mysqli.available.mysqlnd; - - mysqli_fetch_all は、 すべての結果の行を取得してその結果セットを連想配列・数値添字配列あるいはその両方で返します。 @@ -59,6 +56,24 @@ + + &reftitle.mysqlnd; + + + &mysqli.available.mysqlnd; + + + + mysqli_fetch_all は、すべての行を配列にまとめて一括で返します。 + そのため、mysqli_fetch_array + のように結果セットから一行ずつ返す同等の関数に比べるとメモリの消費量が多くなる可能性があります。 + また、結果セットを順に処理していく際にはループ構造が必要となり、 + さらにパフォーマンスに影響を及ぼすでしょう。これらを考慮すると、 + mysqli_fetch_all を使うのは + 結果セットを別のレイヤーに渡して処理させるなどの特別な場合に限定しなければなりません。 + + + &reftitle.seealso; Modified: phpdoc/ja/trunk/reference/mysqli/mysqli_result/num-rows.xml =================================================================== --- phpdoc/ja/trunk/reference/mysqli/mysqli_result/num-rows.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/mysqli/mysqli_result/num-rows.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + mysqli_result->num_rows @@ -147,7 +147,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/network/functions/header.xml =================================================================== --- phpdoc/ja/trunk/reference/network/functions/header.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/network/functions/header.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + header @@ -81,7 +81,8 @@ 2 番目の特別なヘッダは、"Location:" ヘッダです。このヘッダがブラウザに返されるだけではなく、 ブラウザに REDIRECT (302) ステータスコードを返します - (3xx ステータスコードが既に送信されていない場合にのみ)。 + (201 や 3xx + ステータスコードが既に送信されていない場合にのみ)。 @@ -248,7 +249,7 @@ &reftitle.notes; - PHP 4 では、出力のバッファリングを使用してこの問題を回避することができます。 + 出力のバッファリングを使用してこの問題を回避することができます。 この場合、ブラウザへの出力が送信するまでサーバに 全てバッファリングされるオーバーヘッドがあります。出力バッファリングは、 ob_start と @@ -347,7 +348,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/network/functions/setcookie.xml =================================================================== --- phpdoc/ja/trunk/reference/network/functions/setcookie.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/network/functions/setcookie.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + setcookie @@ -305,7 +305,7 @@ &reftitle.notes; - PHP 4 では、この関数をコールする前でも出力できるように、 + この関数をコールする前でも出力できるように、 スクリプトの全ての出力をサーバ内にバッファリングさせることができます。 そのためには、ob_start や ob_end_flush を使用するか、あるいは &php.ini; やサーバ設定ファイルの output_buffering @@ -398,7 +398,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/pdo/prepared-statements.xml =================================================================== --- phpdoc/ja/trunk/reference/pdo/prepared-statements.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/pdo/prepared-statements.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -208,7 +208,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/phar/book.xml =================================================================== --- phpdoc/ja/trunk/reference/phar/book.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/phar/book.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + @@ -95,7 +95,7 @@ それを実行する環境にも phar 拡張モジュールが必要となります。 phar 独自フォーマットは phar 拡張モジュール独自の形式です。 phar 拡張モジュールか PEAR パッケージ - PHP_Archive + PHP_Archive にしか作成できません。しかし、この形式で作成したアプリケーションは phar 拡張モジュールのない環境でも動作するという利点があります。 @@ -159,7 +159,7 @@ Phar アーカイブの実装は PEAR の - PHP_Archive + PHP_Archive パッケージに基づいています。実装の詳細は同じですが、 Phar 拡張モジュールのほうがずっと強力です。 さらに、Phar 拡張モジュールで作成した PHP アプリケーションは @@ -193,7 +193,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/sam/functions/SAM-Message-body.xml =================================================================== --- phpdoc/ja/trunk/reference/sam/functions/SAM-Message-body.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/sam/functions/SAM-Message-body.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + SAMMessage->body @@ -12,7 +12,7 @@ &reftitle.description; SAMMessage - stringnody + stringbody "body" プロパティには、メッセージの本文が含まれます。 @@ -60,7 +60,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/soap/soapclient/soapclient.xml =================================================================== --- phpdoc/ja/trunk/reference/soap/soapclient/soapclient.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/soap/soapclient/soapclient.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + Modified: phpdoc/ja/trunk/reference/sphinx/setup.xml =================================================================== --- phpdoc/ja/trunk/reference/sphinx/setup.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/sphinx/setup.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,6 +1,6 @@ - + &reftitle.setup; @@ -8,7 +8,7 @@
&reftitle.required; - PECL/sphinx は PHP 5.1.3 以降を必要とします。 + PECL/sphinx は PHP 5.2.2 以降を必要とします。
@@ -41,7 +41,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../../../manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil Modified: phpdoc/ja/trunk/reference/ssh2/installation.xml =================================================================== --- phpdoc/ja/trunk/reference/ssh2/installation.xml 2009-10-10 00:31:18 UTC (rev 289478) +++ phpdoc/ja/trunk/reference/ssh2/installation.xml 2009-10-10 01:58:00 UTC (rev 289479) @@ -1,117 +1,17 @@ - +
&reftitle.install; - - Windows 用バイナリは - &url.php.snapshots; - にあります。 - インストールするには php_ssh2.dll を php.ini ファイルの - extension_dir ディレクティブで指定されたフォルダに - ダウンロードしてください。そして - php.ini に extension=php_ssh2.dll を追加し、 - Web サーバを再起動して有効にしてください。 - - - - - - - Linux, BSD, あるいは他の *nix 系 - では以下の手順でコンパイルすることができます: - - - - - - OpenSSL - をダウンロードしインストールします。 - もしディストリビューションのパッケージングシステム経由で OpenSSL - をインストールする場合、開発用ライブラリもインストールしてください。 - これは典型的には openssl-dev や - openssl_devel、 - もしくはいくつかのバリエーションで名前付けされたパッケージです。 - - - - - - libssh2 - をダウンロードしインストールします。典型的には libssh2 - のソースツリーから次のコマンドを実行することを意味します。 - ./configure && make all install - - - - - - PECL/ssh2 のために PECL インストーラを実行します: - pecl install ssh2 - - - - - - ビルドプロセスが示したディレクトリから php.ini ファイルの - extension_dir で指定された場所に - ssh2.so をコピーします。 - - - - - - php.ini に extension=ssh2.so を追加します。 - - - - - - php.ini の設定を再読込させるため、Web サーバを再起動します。 - - - - - - - 開発バージョン - - 現時点では PECL/ssh2 の 安定 バージョンはありません。 - PECL/ssh2 の ベータ - バージョンをインストールするには次を実行してください: - pecl install ssh2-beta - - - - - PECL コマンドを使用しないで PECL/ssh2 をコンパイルする - - 自動的に PECL/ssh2 をダウンロード、インストールする - peclinstall ssh2 を使用するよりもむしろ - PECL - から tarball をダウンロードしても良いです。 - 展開した tarball のルートから ssh2.so - を生成するには次を実行します: - phpize && ./configure --with-ssh2 && make - 生成した後、上記のステップ 4 からインストールを続けてください。 - - - - + &pecl.info; &url.pecl.package;ssh2. - - - - libssh2 ライブラリのバージョン 0.4 もしくはそれ以降が必要です - (ひょっとするともっと新しいかも知れませんので、 - リリースノートを参照してください) 。 - - + + + &pecl.windows.download; + +
- + @@ -9,7 +9,19 @@
&reftitle.required; - &no.requirement; + + OpenSSL および + libssh2 ライブラリは必須です。 + 開発用のライブラリがインストールされていることを確認しておきましょう。 + おそらく openssl-dev のような名前のパッケージになっているでしょう。 + + + + libssh2 ライブラリのバージョン 0.4 以降が必須となります。しかし、 + pecl/ssh2 の新しいリリースでは、より新しいバージョンを要求することになるかもしれません + (リリースノートを参照ください)。 + +