Modified: phpdoc/ja/trunk/appendices/migration56/new-features.xml =================================================================== --- phpdoc/ja/trunk/appendices/migration56/new-features.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/appendices/migration56/new-features.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,12 +1,12 @@ - + 新機能 - 定数のスカラー式 + 定数式 数値や文字列リテラルと定数を、これまでのバージョンでは静的な値が想定されていた場面 @@ -44,6 +44,29 @@ ]]> + + + 配列も、 + const キーワードで定数として定義できるようになりました。 + + + + + +]]> + + &example.outputs; + + + + Modified: phpdoc/ja/trunk/reference/imagick/imagick/compositeimage.xml =================================================================== --- phpdoc/ja/trunk/reference/imagick/imagick/compositeimage.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/imagick/imagick/compositeimage.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + Imagick::compositeImage @@ -19,6 +19,8 @@ ある画像を、別の画像の指定した位置に合成します。 + 合成アルゴリズムに指定する引数は、 + setImageArtifact の第一パラメータに 'compose:args'、第二パラメータにデータを渡す必要があります。 @@ -80,6 +82,45 @@ + + &reftitle.examples; + + + <function>Imagick::compositeImage</function> の利用例 + + 二つの画像を 'mathematics' 方式で合成します。 + + +setImageVirtualPixelMethod(Imagick::VIRTUALPIXELMETHOD_TRANSPARENT); +$src1->setImageArtifact('compose:args', "1,0,-0.5,0.5"); +$src1->compositeImage($src2, Imagick::COMPOSITE_MATHEMATICS, 0, 0); +$src1->writeImage("./output.png"); + +?> +]]> + + + + + + + &reftitle.seealso; + + + Imagick::setImageArtifact + + + + - + MongoCursor::batchSize @@ -17,7 +17,7 @@ カーソルは一般的に、結果オブジェクトをバッチで取得してローカルに格納します。 このメソッドはバッチのサイズを決めるもので、 - ひとつのデータパケットでサーバーから取得するドキュメントの数を設定できます。 + 一回の欧風でサーバーから取得するドキュメントの数を設定できます。 しかし、バッチサイズの最大値 (通常は 4MB) に収まらないドキュメントは返せません。 Modified: phpdoc/ja/trunk/reference/mongo/mongodb/getcollectionnames.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongodb/getcollectionnames.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/mongo/mongodb/getcollectionnames.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -75,6 +75,7 @@ MongoDB::listCollections + MongoDB::getCollectionInfo Modified: phpdoc/ja/trunk/reference/mongo/mongodb/listcollections.xml =================================================================== --- phpdoc/ja/trunk/reference/mongo/mongodb/listcollections.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/mongo/mongodb/listcollections.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -105,6 +105,7 @@ MongoDB::getCollectionNames + MongoDB::getCollectionInfo Modified: phpdoc/ja/trunk/reference/mysqli/functions/mysqli-report.xml =================================================================== --- phpdoc/ja/trunk/reference/mysqli/functions/mysqli-report.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/mysqli/functions/mysqli-report.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + mysqli_report Modified: phpdoc/ja/trunk/reference/ncurses/functions/ncurses-deleteln.xml =================================================================== --- phpdoc/ja/trunk/reference/ncurses/functions/ncurses-deleteln.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/ncurses/functions/ncurses-deleteln.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + ncurses_deleteln Modified: phpdoc/ja/trunk/reference/ncurses/functions/ncurses-mousemask.xml =================================================================== --- phpdoc/ja/trunk/reference/ncurses/functions/ncurses-mousemask.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/ncurses/functions/ncurses-mousemask.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + ncurses_mousemask @@ -83,8 +83,7 @@ &reftitle.returnvalues; - newmask が指定するイベントを報告することが - できるマスクを返します。失敗した場合は 0 を返します。 + イベントを報告することができるマスクを返します。失敗した場合は 0 を返します。 Modified: phpdoc/ja/trunk/reference/ncurses/functions/ncurses-nocbreak.xml =================================================================== --- phpdoc/ja/trunk/reference/ncurses/functions/ncurses-nocbreak.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/ncurses/functions/ncurses-nocbreak.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + ncurses_nocbreak Modified: phpdoc/ja/trunk/reference/ncurses/functions/ncurses-noraw.xml =================================================================== --- phpdoc/ja/trunk/reference/ncurses/functions/ncurses-noraw.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/ncurses/functions/ncurses-noraw.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + ncurses_noraw Modified: phpdoc/ja/trunk/reference/ncurses/functions/ncurses-raw.xml =================================================================== --- phpdoc/ja/trunk/reference/ncurses/functions/ncurses-raw.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/ncurses/functions/ncurses-raw.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + ncurses_raw Modified: phpdoc/ja/trunk/reference/ncurses/functions/ncurses-ungetmouse.xml =================================================================== --- phpdoc/ja/trunk/reference/ncurses/functions/ncurses-ungetmouse.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/ncurses/functions/ncurses-ungetmouse.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + ncurses_ungetmouse Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-filter.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-filter.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-filter.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + preg_filter @@ -96,11 +96,12 @@ &reftitle.seealso; + PCRE のパターン + preg_quote preg_replace preg_replace_callback preg_grep preg_last_error - PCRE のパターン Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-grep.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-grep.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-grep.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -87,6 +87,7 @@ PCRE のパターン + preg_quote preg_match_all preg_filter preg_last_error Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-match-all.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-match-all.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-match-all.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -363,6 +363,7 @@ PCRE のパターン + preg_quote preg_match preg_replace preg_split Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-match.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-match.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-match.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -320,6 +320,7 @@ PCRE のパターン + preg_quote preg_match_all preg_replace preg_split Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-quote.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-quote.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-quote.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -112,7 +112,7 @@ $textbody = "This book is *very* difficult to find."; $word = "*very*"; -$textbody = preg_replace ("/" . preg_quote($word) . "/", +$textbody = preg_replace ("/" . preg_quote($word, '/') . "/", "" . $word . "", $textbody); ?> Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-replace-callback.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-replace-callback.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-replace-callback.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -239,6 +239,7 @@ PCRE のパターン + preg_quote preg_replace preg_last_error 無名関数 Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-replace.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-replace.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-replace.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -231,7 +231,7 @@ &example.outputs; @@ -337,6 +337,7 @@ PCRE のパターン + preg_quote preg_filter preg_match preg_replace_callback Modified: phpdoc/ja/trunk/reference/pcre/functions/preg-split.xml =================================================================== --- phpdoc/ja/trunk/reference/pcre/functions/preg-split.xml 2014-12-25 21:38:53 UTC (rev 335367) +++ phpdoc/ja/trunk/reference/pcre/functions/preg-split.xml 2014-12-25 22:29:31 UTC (rev 335368) @@ -1,6 +1,6 @@ - + @@ -227,6 +227,7 @@ PCRE のパターン + preg_quote implode preg_match preg_match_all