Modified: phpdoc/ja/trunk/appendices/ini.xml =================================================================== --- phpdoc/ja/trunk/appendices/ini.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/appendices/ini.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + @@ -3926,7 +3926,7 @@ 指定すると良いでしょう。 - PHP5 では allow_call_time_pass_reference は非推奨となります。 + PHP 5 では allow_call_time_pass_reference は非推奨となります。 PHP 5.3.0 より前のバージョンではこの機能を使うと E_COMPILE_WARNING が発生し、PHP 5.3.0 以降では E_DEPRECATED となります。 Modified: phpdoc/ja/trunk/install/pecl.xml =================================================================== --- phpdoc/ja/trunk/install/pecl.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/install/pecl.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + @@ -132,7 +132,7 @@ 拡張モジュールの探し方は? PHP の拡張モジュールは、通常は "php_*.dll" (* の部分に拡張モジュールの名前が入ります) - という名前で "PHP\ext" (PHP4 の場合は "PHP\extensions") フォルダに存在します。 + という名前で "PHP\ext" (PHP 4 の場合は "PHP\extensions") フォルダに存在します。 PHP には、大半の開発者にとって有用である拡張モジュールが同梱されています。 Modified: phpdoc/ja/trunk/language/oop5/references.xml =================================================================== --- phpdoc/ja/trunk/language/oop5/references.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/language/oop5/references.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,10 +1,10 @@ - + オブジェクトと参照 - PHP5 でのオブジェクト指向プログラミングのポイントとしてよく言われるのは + PHP 5 でのオブジェクト指向プログラミングのポイントとしてよく言われるのは 「オブジェクトはデフォルトでは参照渡しとなります」ということです。 しかし、正確には少し異なります。 この節では、いくつかの例を用いてその誤解をといていきます。 @@ -12,7 +12,7 @@ PHP の参照は一種のエイリアスで、ふたつの異なる変数に同じ値を書き込めるものです。 - PHP5 以降、オブジェクト変数の値にオブジェクト自身は含まれなくなりました。 + PHP 5 以降、オブジェクト変数の値にオブジェクト自身は含まれなくなりました。 含まれるのはオブジェクトの ID のみで、 これを用いて実際のオブジェクトにアクセスできるようになっています。 オブジェクトが引数として渡されたり返り値となったり Modified: phpdoc/ja/trunk/language/oop5/traits.xml =================================================================== --- phpdoc/ja/trunk/language/oop5/traits.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/language/oop5/traits.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + トレイト @@ -63,20 +63,20 @@ ]]> @@ -250,17 +250,20 @@ ]]> @@ -281,23 +284,23 @@ getWorld(); - } - abstract public function getWorld(); + public function sayHelloWorld() { + echo 'Hello'.$this->getWorld(); + } + abstract public function getWorld(); } class MyHelloWorld { - private $world; - use Hello; - public function getWorld() { - return $this->world; - } - public function setWorld($val) { - $this->world = $val; - } + private $world; + use Hello; + public function getWorld() { + return $this->world; + } + public function setWorld($val) { + $this->world = $val; + } } ?> ]]> @@ -360,24 +363,24 @@ inc(); // echo 1 - $p = new C2(); $p->inc(); // echo 1 +$o = new C1(); $o->inc(); // 1 と表示 +$p = new C2(); $p->inc(); // 1 と表示 ?> ]]> Modified: phpdoc/ja/trunk/language/references.xml =================================================================== --- phpdoc/ja/trunk/language/references.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/language/references.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + リファレンスの説明 Modified: phpdoc/ja/trunk/language/types/pseudo-types.xml =================================================================== --- phpdoc/ja/trunk/language/types/pseudo-types.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/language/types/pseudo-types.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + 本ドキュメントにおける疑似的な型および変数 @@ -159,7 +159,7 @@ - PHP4 では、実際のオブジェクトを指すコールバックを作成するには + PHP 4 では、実際のオブジェクトを指すコールバックを作成するには 参照を使用する必要があります。そのコピーを使用してはいけません。 詳細は 参照についての説明 を参照ください。 Modified: phpdoc/ja/trunk/reference/http/book.xml =================================================================== --- phpdoc/ja/trunk/reference/http/book.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/http/book.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + @@ -22,7 +22,7 @@ 任意のデータ通信におけるキャッシュ・リジューム機能を提供します。 - さらに、PHP 5 以降では強力なリクエスト機能や平行インターフェイスも用意しています。 + さらに、PHP 5 以降では強力なリクエスト機能や並列処理用インターフェイスも用意しています。 これは、cURL サポートついでこの拡張モジュールをビルドした場合のみです。 Modified: phpdoc/ja/trunk/reference/iconv/functions/iconv-strpos.xml =================================================================== --- phpdoc/ja/trunk/reference/iconv/functions/iconv-strpos.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/iconv/functions/iconv-strpos.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + iconv_strpos @@ -17,7 +17,7 @@ stringcharsetini_get("iconv.internal_encoding") - needle が haystack の中で最初に現れる位置を探します。 + needle が haystack の中で最初に現れる位置を探します。 strpos の返り値は needle が見つかった位置の Modified: phpdoc/ja/trunk/reference/iconv/functions/iconv-strrpos.xml =================================================================== --- phpdoc/ja/trunk/reference/iconv/functions/iconv-strrpos.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/iconv/functions/iconv-strrpos.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + iconv_strrpos @@ -16,10 +16,14 @@ stringcharsetini_get("iconv.internal_encoding") + needle が haystack の中で最後に現れる位置を探します。 + + strrpos の返り値は needle が見つかった位置の 先頭からのバイト数でしたが、それとは異なり iconv_strrpos の返り値は needle が見つかった 位置の先頭からの文字数となります。 + 文字数は charset で指定された文字セットに基づいて数えられます。 @@ -67,8 +71,6 @@ 文字列 haystack の中で、 needle が最後に現れた位置を数字で返します。 - 文字数は charset で指定された文字セットに基づいて - 数えられます。 もし needle が見つからなかった場合、 Modified: phpdoc/ja/trunk/reference/image/functions/imagecreatefromgd2.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagecreatefromgd2.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/image/functions/imagecreatefromgd2.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + Modified: phpdoc/ja/trunk/reference/image/functions/imagecreatefromgd2part.xml =================================================================== --- phpdoc/ja/trunk/reference/image/functions/imagecreatefromgd2part.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/image/functions/imagecreatefromgd2part.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + Modified: phpdoc/ja/trunk/reference/info/functions/dl.xml =================================================================== --- phpdoc/ja/trunk/reference/info/functions/dl.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/info/functions/dl.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + @@ -52,8 +52,8 @@ Windows - &php.ini; に明記されていない場合、デフォルトでは - 拡張モジュールは c:\php4\extensions\ (PHP4) - あるいは C:\php5\ (PHP5) からロードされます。 + 拡張モジュールは c:\php4\extensions\ (PHP 4) + あるいは C:\php5\ (PHP 5) からロードされます。 Unix - &php.ini; に明記されていない場合、デフォルトでは Modified: phpdoc/ja/trunk/reference/intl/idn/idn-to-utf8.xml =================================================================== --- phpdoc/ja/trunk/reference/intl/idn/idn-to-utf8.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/intl/idn/idn-to-utf8.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + idn_to_utf8 @@ -47,7 +47,7 @@ &reftitle.returnvalues; - Unicodeのドメイン名。PHP5 では UTF-8 にエンコードされています。&return.falseforfailure; + Unicodeのドメイン名。PHP 5 では UTF-8 にエンコードされています。&return.falseforfailure; Modified: phpdoc/ja/trunk/reference/math/functions/rand.xml =================================================================== --- phpdoc/ja/trunk/reference/math/functions/rand.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/math/functions/rand.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + @@ -9,15 +9,15 @@ &reftitle.description; - - intrand - - - - intrand - intmin - intmax - + + intrand + + + + intrand + intmin + intmax + オプションの引数 min,max @@ -29,8 +29,8 @@ (Windows のような)いくつかのプラットフォームでは、getrandmax - は 32768 と小さな値となっています。 - 32768 より広い範囲にしたい場合、 + は 32767 と小さな値となっています。 + 32767 より広い範囲にしたい場合、 min および max を指定することで、 これより大きな範囲の乱数を生成することができます。 もしくは、 Modified: phpdoc/ja/trunk/reference/ssh2/functions/ssh2-sftp-lstat.xml =================================================================== --- phpdoc/ja/trunk/reference/ssh2/functions/ssh2-sftp-lstat.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/ssh2/functions/ssh2-sftp-lstat.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + ssh2_sftp_lstat Modified: phpdoc/ja/trunk/reference/ssh2/functions/ssh2-sftp-stat.xml =================================================================== --- phpdoc/ja/trunk/reference/ssh2/functions/ssh2-sftp-stat.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/ssh2/functions/ssh2-sftp-stat.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + ssh2_sftp_stat Modified: phpdoc/ja/trunk/reference/var/functions/strval.xml =================================================================== --- phpdoc/ja/trunk/reference/var/functions/strval.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/var/functions/strval.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,6 +1,6 @@ - + @@ -61,7 +61,7 @@ - PHP5 のマジックメソッド <link linkend="language.oop5.magic.tostring">__toString</link> + PHP 5 のマジックメソッド <link linkend="language.oop5.magic.tostring">__toString</link> を使う <function>strval</function> の例 Modified: phpdoc/ja/trunk/reference/xslt/reference.xml =================================================================== --- phpdoc/ja/trunk/reference/xslt/reference.xml 2011-08-19 20:18:54 UTC (rev 315215) +++ phpdoc/ja/trunk/reference/xslt/reference.xml 2011-08-19 22:21:39 UTC (rev 315216) @@ -1,10 +1,10 @@ - + - XSLT (PHP4) &Functions; + XSLT (PHP 4) &Functions; &reference.xslt.entities.functions;