cvs: phpdoc-ja /language/types string.xml type-juggling.xml /reference/array/functions uasort.xml /reference/filesystem/functions
file-get-contents.xml file-put-contents.xml /reference/imagick/imagick motionblurimage.xml /reference/info/functions ini-set.xml
/reference/mcrypt/functions mcrypt-create-iv.xml mcrypt-list-algorithms.xml mcrypt-list-modes.xml /reference/memcache ini.xml
/reference/memcache/functions memcache-addserver.xml /reference/mime_magic ini.xml /reference/ming/swfgradient addentry.xml
/reference/ming/swfmovie streammp3.xml /reference/ming/swfshape addfill.xml drawcurveto.xml /reference/ming/swfsound construct.xml
/reference/ming/swftext setcolor.xml /reference/ming/swftextfield setcolor.xml

From: Date: Tue, 10 Feb 2009 08:52:42 +0000
Subject: cvs: phpdoc-ja /language/types string.xml type-juggling.xml /reference/array/functions uasort.xml /reference/filesystem/functions
file-get-contents.xml file-put-contents.xml /reference/imagick/imagick motionblurimage.xml /reference/info/functions ini-set.xml
/reference/mcrypt/functions mcrypt-create-iv.xml mcrypt-list-algorithms.xml mcrypt-list-modes.xml /reference/memcache ini.xml
/reference/memcache/functions memcache-addserver.xml /reference/mime_magic ini.xml /reference/ming/swfgradient addentry.xml
/reference/ming/swfmovie streammp3.xml /reference/ming/swfshape addfill.xml drawcurveto.xml /reference/ming/swfsound construct.xml
/reference/ming/swftext setcolor.xml /reference/ming/swftextfield setcolor.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-2417@lists.php.net to get a copy of this message
takagi Tue Feb 10 08:52:42 2009 UTC Modified files: /phpdoc-ja/reference/ming/swftextfield setcolor.xml /phpdoc-ja/reference/ming/swftext setcolor.xml /phpdoc-ja/reference/ming/swfsound construct.xml /phpdoc-ja/reference/ming/swfshape drawcurveto.xml addfill.xml /phpdoc-ja/reference/ming/swfmovie streammp3.xml /phpdoc-ja/reference/ming/swfgradient addentry.xml /phpdoc-ja/reference/mime_magic ini.xml /phpdoc-ja/reference/memcache/functions memcache-addserver.xml /phpdoc-ja/reference/memcache ini.xml /phpdoc-ja/reference/mcrypt/functions mcrypt-list-modes.xml mcrypt-list-algorithms.xml mcrypt-create-iv.xml /phpdoc-ja/reference/info/functions ini-set.xml /phpdoc-ja/reference/imagick/imagick motionblurimage.xml /phpdoc-ja/reference/filesystem/functions file-put-contents.xml file-get-contents.xml /phpdoc-ja/reference/array/functions uasort.xml /phpdoc-ja/language/types type-juggling.xml string.xml Log: sync with en.

http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ming/swftextfield/setcolor.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/reference/ming/swftextfield/setcolor.xml diff -u phpdoc-ja/reference/ming/swftextfield/setcolor.xml:1.3 phpdoc-ja/reference/ming/swftextfield/setcolor.xml:1.4 --- phpdoc-ja/reference/ming/swftextfield/setcolor.xml:1.3 Sun Jul 27 13:59:49 2008 +++ phpdoc-ja/reference/ming/swftextfield/setcolor.xml Tue Feb 10 08:52:39 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry xml:id="function.swftextfield.setcolor" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SWFTextField->setColor</refname> @@ -15,7 +15,7 @@ <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>a</parameter><initializer>255</initializer></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ming/swftext/setcolor.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/reference/ming/swftext/setcolor.xml diff -u phpdoc-ja/reference/ming/swftext/setcolor.xml:1.3 phpdoc-ja/reference/ming/swftext/setcolor.xml:1.4 --- phpdoc-ja/reference/ming/swftext/setcolor.xml:1.3 Sun Jul 27 13:59:49 2008 +++ phpdoc-ja/reference/ming/swftext/setcolor.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry xml:id="function.swftext.setcolor" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SWFText->setColor</refname> @@ -15,7 +15,7 @@ <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>a</parameter><initializer>255</initializer></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ming/swfsound/construct.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/reference/ming/swfsound/construct.xml diff -u phpdoc-ja/reference/ming/swfsound/construct.xml:1.3 phpdoc-ja/reference/ming/swfsound/construct.xml:1.4 --- phpdoc-ja/reference/ming/swfsound/construct.xml:1.3 Sun Dec 7 01:27:07 2008 +++ phpdoc-ja/reference/ming/swfsound/construct.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry xml:id="function.swfsound.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SWFSound</refname> @@ -13,7 +13,7 @@ <methodsynopsis> <type>SWFSound</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam> </methodsynopsis> </classsynopsis> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ming/swfshape/drawcurveto.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-ja/reference/ming/swfshape/drawcurveto.xml diff -u phpdoc-ja/reference/ming/swfshape/drawcurveto.xml:1.4 phpdoc-ja/reference/ming/swfshape/drawcurveto.xml:1.5 --- phpdoc-ja/reference/ming/swfshape/drawcurveto.xml:1.4 Sun Dec 7 01:27:08 2008 +++ phpdoc-ja/reference/ming/swfshape/drawcurveto.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry xml:id="function.swfshape.drawcurveto" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SWFShape->drawCurveTo</refname> @@ -12,7 +12,7 @@ <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCurveTo</methodname> - <methodparam><type>int</type><parameter>controlx</parameter></methodparam> + <methodparam><type>float</type><parameter>controlx</parameter></methodparam> <methodparam><type>float</type><parameter>controly</parameter></methodparam> <methodparam><type>float</type><parameter>anchorx</parameter></methodparam> <methodparam><type>float</type><parameter>anchory</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ming/swfshape/addfill.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/reference/ming/swfshape/addfill.xml diff -u phpdoc-ja/reference/ming/swfshape/addfill.xml:1.3 phpdoc-ja/reference/ming/swfshape/addfill.xml:1.4 --- phpdoc-ja/reference/ming/swfshape/addfill.xml:1.3 Sun Jul 27 13:59:50 2008 +++ phpdoc-ja/reference/ming/swfshape/addfill.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry xml:id="function.swfshape.addfill" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SWFShape->addFill</refname> @@ -15,7 +15,7 @@ <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>alpha</parameter><initializer>255</initializer></methodparam> </methodsynopsis> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> @@ -36,8 +36,7 @@ </para> <para> <parameter>red</parameter>、<parameter>green</parameter>、<parameter>blue</parameter> - は (RGB モードの) 色です。最後のパラメータ <parameter>a</parameter> - はオプションです。 + は (RGB モードの) 色です。 </para> <para> 引数 <parameter>bitmap</parameter> は <function>SWFBitmap</function> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ming/swfmovie/streammp3.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/reference/ming/swfmovie/streammp3.xml diff -u phpdoc-ja/reference/ming/swfmovie/streammp3.xml:1.5 phpdoc-ja/reference/ming/swfmovie/streammp3.xml:1.6 --- phpdoc-ja/reference/ming/swfmovie/streammp3.xml:1.5 Sun Jul 27 13:59:50 2008 +++ phpdoc-ja/reference/ming/swfmovie/streammp3.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> <refentry xml:id="function.swfmovie.streammp3" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SWFMovie->streamMP3</refname> @@ -13,7 +13,7 @@ <methodsynopsis> <type>int</type><methodname>streamMP3</methodname> <methodparam><type>mixed</type><parameter>mp3file</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>skip</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>skip</parameter><initializer>0</initializer></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/ming/swfgradient/addentry.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/reference/ming/swfgradient/addentry.xml diff -u phpdoc-ja/reference/ming/swfgradient/addentry.xml:1.3 phpdoc-ja/reference/ming/swfgradient/addentry.xml:1.4 --- phpdoc-ja/reference/ming/swfgradient/addentry.xml:1.3 Sun Jul 27 13:59:51 2008 +++ phpdoc-ja/reference/ming/swfgradient/addentry.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry xml:id="function.swfgradient.addentry" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SWFGradient->addEntry</refname> @@ -16,7 +16,7 @@ <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>alpha</parameter><initializer>255</initializer></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; @@ -28,7 +28,7 @@ </para> <para> <parameter>red</parameter>、<parameter>green</parameter>、<parameter>blue</parameter> - は色 (RGB モード) を表します。最後のパラメータ <parameter>a</parameter> はオプションです。 + は色 (RGB モード) を表します。 </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mime_magic/ini.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/mime_magic/ini.xml diff -u phpdoc-ja/reference/mime_magic/ini.xml:1.7 phpdoc-ja/reference/mime_magic/ini.xml:1.8 --- phpdoc-ja/reference/mime_magic/ini.xml:1.7 Fri Jun 22 14:32:11 2007 +++ phpdoc-ja/reference/mime_magic/ini.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.6 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready --> <section xml:id="mime-magic.configuration" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; @@ -18,13 +18,13 @@ </thead> <tbody> <row> - <entry>mime_magic.debug</entry> + <entry><link linkend="ini.mime-magic.debug">mime_magic.debug</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> <entry>PHP 5.0.0 以降で利用可能</entry> </row> <row> - <entry>mime_magic.magicfile</entry> + <entry><link linkend="ini.mime-magic.magicfile">mime_magic.magicfile</link></entry> <entry>"/path/to/php/magic.mime"</entry> <entry>PHP_INI_SYSTEM</entry> <entry>PHP 4.3.0 以降で利用可能</entry> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/memcache/functions/memcache-addserver.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-ja/reference/memcache/functions/memcache-addserver.xml diff -u phpdoc-ja/reference/memcache/functions/memcache-addserver.xml:1.13 phpdoc-ja/reference/memcache/functions/memcache-addserver.xml:1.14 --- phpdoc-ja/reference/memcache/functions/memcache-addserver.xml:1.13 Sun Dec 28 01:32:26 2008 +++ phpdoc-ja/reference/memcache/functions/memcache-addserver.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.14 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.15 Maintainer: takagi Status: ready --> <refentry xml:id="function.memcache-addserver" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>Memcache::addServer</refname> @@ -19,6 +19,7 @@ <methodparam choice="opt"><type>int</type><parameter>retry_interval</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>status</parameter></methodparam> <methodparam choice="opt"><type>callback</type><parameter>failure_callback</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>timeoutms</parameter></methodparam> </methodsynopsis> <para> @@ -164,6 +165,14 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>timeoutms</parameter></term> + <listitem> + <para> + + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/memcache/ini.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-ja/reference/memcache/ini.xml diff -u phpdoc-ja/reference/memcache/ini.xml:1.9 phpdoc-ja/reference/memcache/ini.xml:1.10 --- phpdoc-ja/reference/memcache/ini.xml:1.9 Wed Oct 3 22:23:08 2007 +++ phpdoc-ja/reference/memcache/ini.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.10 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.11 Maintainer: takagi Status: ready --> <section xml:id="memcache.ini" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; @@ -18,37 +18,37 @@ </thead> <tbody> <row> - <entry>memcache.allow_failover</entry> + <entry><link linkend="ini.memcache.allow-failover">memcache.allow_failover</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry>memcache 2.0.2 以降で使用可能です</entry> </row> <row> - <entry>memcache.max_failover_attempts</entry> + <entry><link linkend="ini.memcache.max-failover-attempts">memcache.max_failover_attempts</link></entry> <entry>"20"</entry> <entry>PHP_INI_ALL</entry> <entry>memcache 2.1.0 以降で使用可能です</entry> </row> <row> - <entry>memcache.chunk_size</entry> + <entry><link linkend="ini.memcache.chunk-size">memcache.chunk_size</link></entry> <entry>"8192"</entry> <entry>PHP_INI_ALL</entry> <entry>memcache 2.0.2 以降で使用可能です</entry> </row> <row> - <entry>memcache.default_port</entry> + <entry><link linkend="ini.memcache.default-port">memcache.default_port</link></entry> <entry>"11211"</entry> <entry>PHP_INI_ALL</entry> <entry>memcache 2.0.2 以降で使用可能です</entry> </row> <row> - <entry>memcache.hash_strategy</entry> + <entry><link linkend="ini.memcache.hash-strategy">memcache.hash_strategy</link></entry> <entry>"standard"</entry> <entry>PHP_INI_ALL</entry> <entry>memcache 2.2.0 以降で使用可能です</entry> </row> <row> - <entry>memcache.hash_function</entry> + <entry><link linkend="ini.memcache.hash-function">memcache.hash_function</link></entry> <entry>"crc32"</entry> <entry>PHP_INI_ALL</entry> <entry>memcache 2.2.0 以降で使用可能です</entry> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mcrypt/functions/mcrypt-list-modes.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/mcrypt/functions/mcrypt-list-modes.xml diff -u phpdoc-ja/reference/mcrypt/functions/mcrypt-list-modes.xml:1.7 phpdoc-ja/reference/mcrypt/functions/mcrypt-list-modes.xml:1.8 --- phpdoc-ja/reference/mcrypt/functions/mcrypt-list-modes.xml:1.7 Fri May 30 12:28:09 2008 +++ phpdoc-ja/reference/mcrypt/functions/mcrypt-list-modes.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> <refentry xml:id="function.mcrypt-list-modes" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_list_modes</refname> @@ -11,7 +11,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_list_modes</methodname> - <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter><initializer>ini_get("mcrypt.algorithms_dir")</initializer></methodparam> </methodsynopsis> <para> <function>mcrypt_list_modes</function> は、 http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mcrypt/functions/mcrypt-list-algorithms.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/mcrypt/functions/mcrypt-list-algorithms.xml diff -u phpdoc-ja/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.7 phpdoc-ja/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.8 --- phpdoc-ja/reference/mcrypt/functions/mcrypt-list-algorithms.xml:1.7 Fri May 30 12:28:09 2008 +++ phpdoc-ja/reference/mcrypt/functions/mcrypt-list-algorithms.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> <refentry xml:id="function.mcrypt-list-algorithms" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>mcrypt_list_algorithms</refname> @@ -11,7 +11,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>mcrypt_list_algorithms</methodname> - <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter><initializer>ini_get("mcrypt.algorithms_dir")</initializer></methodparam> </methodsynopsis> <para> <function>mcrypt_list_algorithms</function> は、 http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mcrypt/functions/mcrypt-create-iv.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-ja/reference/mcrypt/functions/mcrypt-create-iv.xml diff -u phpdoc-ja/reference/mcrypt/functions/mcrypt-create-iv.xml:1.8 phpdoc-ja/reference/mcrypt/functions/mcrypt-create-iv.xml:1.9 --- phpdoc-ja/reference/mcrypt/functions/mcrypt-create-iv.xml:1.8 Fri May 30 12:28:09 2008 +++ phpdoc-ja/reference/mcrypt/functions/mcrypt-create-iv.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.12 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.13 Maintainer: hirokawa Status: ready --> <refentry xml:id="function.mcrypt-create-iv" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>mcrypt_create_iv</refname> @@ -12,7 +12,7 @@ <methodsynopsis> <type>string</type><methodname>mcrypt_create_iv</methodname> <methodparam><type>int</type><parameter>size</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>source</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>source</parameter><initializer>MCRYPT_DEV_RANDOM</initializer></methodparam> </methodsynopsis> <para> <function>mcrypt_create_iv</function> は、IV を生成するために http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/info/functions/ini-set.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-ja/reference/info/functions/ini-set.xml diff -u phpdoc-ja/reference/info/functions/ini-set.xml:1.10 phpdoc-ja/reference/info/functions/ini-set.xml:1.11 --- phpdoc-ja/reference/info/functions/ini-set.xml:1.10 Fri Jun 22 14:32:04 2007 +++ phpdoc-ja/reference/info/functions/ini-set.xml Tue Feb 10 08:52:40 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.49 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.50 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <refentry xml:id="function.ini-set" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -57,6 +57,28 @@ </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>ini オプションの設定</title> + <programlisting role="php"> +<![CDATA[ +<?php +echo ini_get('display_errors'); + +if (!ini_get('display_errors')) { + ini_set('display_errors', 1); +} + +echo ini_get('display_errors'); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/imagick/imagick/motionblurimage.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/reference/imagick/imagick/motionblurimage.xml diff -u phpdoc-ja/reference/imagick/imagick/motionblurimage.xml:1.3 phpdoc-ja/reference/imagick/imagick/motionblurimage.xml:1.4 --- phpdoc-ja/reference/imagick/imagick/motionblurimage.xml:1.3 Tue Jan 1 21:32:29 2008 +++ phpdoc-ja/reference/imagick/imagick/motionblurimage.xml Tue Feb 10 08:52:41 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.7 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-motionblurimage"> <refnamediv> <refname>Imagick::motionBlurImage</refname> @@ -14,6 +14,7 @@ <methodparam><type>float</type><parameter>radius</parameter></methodparam> <methodparam><type>float</type><parameter>sigma</parameter></methodparam> <methodparam><type>float</type><parameter>angle</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>channel</parameter><initializer>Imagick::CHANNEL_DEFAULT</initializer></methodparam> </methodsynopsis> &warn.undocumented.func; <para> @@ -54,6 +55,20 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>channel</parameter></term> + <listitem> + <para> + そのチャンネルモードで使用可能な任意のチャンネル定数を指定します。 + 複数を指定する場合はビット演算子を使用します。デフォルトは + Imagick::CHANNEL_DEFAULT です。 + <link linkend="imagick.constants.channel">チャンネル定数</link> + の一覧を参照ください。 + この引数が有効になるのは、ImageMagick バージョン 6.4.4 + 以降で Imagick をコンパイルした場合のみです。 + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/filesystem/functions/file-put-contents.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-ja/reference/filesystem/functions/file-put-contents.xml diff -u phpdoc-ja/reference/filesystem/functions/file-put-contents.xml:1.14 phpdoc-ja/reference/filesystem/functions/file-put-contents.xml:1.15 --- phpdoc-ja/reference/filesystem/functions/file-put-contents.xml:1.14 Tue Feb 3 21:52:20 2009 +++ phpdoc-ja/reference/filesystem/functions/file-put-contents.xml Tue Feb 10 08:52:41 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.24 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.25 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-put-contents"> <refnamediv> @@ -156,6 +156,68 @@ </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>シンプルな使用例</title> + <programlisting role="php"> +<![CDATA[ +<?php +$file = 'people.txt'; +// ファイルをオープンして既存のコンテンツを取得します +$current = file_get_contents($file); +// 新しい人物をファイルに追加します +$current .= "John Smith\n"; +// 結果をファイルに書き出します +file_put_contents($file, $current); +?> +]]> + </programlisting> + </example> + <example> + <title>フラグの使用</title> + <programlisting role="php"> +<![CDATA[ +<?php +$file = 'people.txt'; +// 新しい人物をファイルに追加します +$person = "John Smith\n"; +// ファイルに書き出す際に +// FILE_APPEND フラグでファイルの末尾への追記を指定し、 +// LOCK_EX flag フラグで他の人が同時書き込みすることを防ぎます +file_put_contents($file, $person, FILE_APPEND | LOCK_EX); +?> +]]> + </programlisting> + </example> + <example> + <title>ストリームコンテキストの使用</title> + <programlisting role="php"> +<![CDATA[ +<?php +// ストリームを作成します +$opts = array( + 'http'=>array( + 'method'=>"GET", + 'header'=>"Accept-language: en\r\n" . + "Cookie: foo=bar\r\n" + ) +); + +$context = stream_context_create($opts); + +$person = "John Smith\n"; + +// 上で設定した HTTP ヘッダを使用してファイルにコンテンツを追加します +file_put_contents('people.txt', $person, NULL, $context); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <para> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/filesystem/functions/file-get-contents.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-ja/reference/filesystem/functions/file-get-contents.xml diff -u phpdoc-ja/reference/filesystem/functions/file-get-contents.xml:1.15 phpdoc-ja/reference/filesystem/functions/file-get-contents.xml:1.16 --- phpdoc-ja/reference/filesystem/functions/file-get-contents.xml:1.15 Tue Feb 3 21:52:20 2009 +++ phpdoc-ja/reference/filesystem/functions/file-get-contents.xml Tue Feb 10 08:52:41 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.33 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.34 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-get-contents"> <refnamediv> @@ -156,6 +156,76 @@ </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>PHP.net ホームページのソースの取得と出力</title> + <programlisting role="php"> +<![CDATA[ +<?php +$homepage = file_get_contents('http://www.example.com/'); +echo $homepage; +?> +]]> + </programlisting> + </example> + <example> + <title>include_path の検索</title> + <programlisting role="php"> +<![CDATA[ +<?php +// <= PHP 5 +$file = file_get_contents('./people.txt', true); +// > PHP 5 +$file = file_get_contents('./people.txt', FILE_USE_INCLUDE_PATH); +?> +]]> + </programlisting> + </example> + <example> + <title>ファイルの一部の読み込み</title> + <programlisting role="php"> +<![CDATA[ +<?php +// 100 文字目から 50 文字ぶん読み込みます +$section = file_get_contents('./people.txt', NULL, NULL, 20, 14); +var_dump($section); +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +string(14) "lle Bjori Ro" +]]> + </screen> + </example> + <example> + <title>ストリームコンテキストの使用</title> + <programlisting role="php"> +<![CDATA[ +<?php +// ストリームを作成します +$opts = array( + 'http'=>array( + 'method'=>"GET", + 'header'=>"Accept-language: en\r\n" . + "Cookie: foo=bar\r\n" + ) +); + +$context = stream_context_create($opts); + +// 上で設定した HTTP ヘッダを使用してファイルをオープンします +$file = file_get_contents('http://www.example.com/', false, $context); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <para> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/array/functions/uasort.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-ja/reference/array/functions/uasort.xml diff -u phpdoc-ja/reference/array/functions/uasort.xml:1.9 phpdoc-ja/reference/array/functions/uasort.xml:1.10 --- phpdoc-ja/reference/array/functions/uasort.xml:1.9 Mon Dec 31 08:26:02 2007 +++ phpdoc-ja/reference/array/functions/uasort.xml Tue Feb 10 08:52:41 2009 @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.12 Maintainer: hirokawa Status: ready --> <refentry xml:id="function.uasort" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>uasort</refname> <refpurpose>ユーザ定義の比較関数で配列をソートし、連想インデックスを保持する</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -20,6 +21,7 @@ 主に実際の配列の順序に意味がある連想配列をソートするためにこの関数は使用されます。 </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -45,12 +47,71 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>基本的な <function>uasort</function> の例</title> + <programlisting role="php"> +<![CDATA[ +<?php +// 比較用の関数 +function cmp($a, $b) { + if ($a == $b) { + return 0; + } + return ($a < $b) ? -1 : 1; +} + +// ソートしたい配列 +$array = array('a' => 4, 'b' => 8, 'c' => -1, 'd' => -9, 'e' => 2, 'f' => 5, 'g' => 3, 'h' => -4); +print_r($array); + +// ソートした結果の配列を表示します +uasort($array, 'cmp'); +print_r($array); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +Array +( + [a] => 4 + [b] => 8 + [c] => -1 + [d] => -9 + [e] => 2 + [f] => 5 + [g] => 3 + [h] => -4 +) +Array +( + [d] => -9 + [h] => -4 + [c] => -1 + [e] => 2 + [g] => 3 + [a] => 4 + [f] => 5 + [b] => 8 +) +]]> + </screen> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> http://cvs.php.net/viewvc.cgi/phpdoc-ja/language/types/type-juggling.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ja/language/types/type-juggling.xml diff -u phpdoc-ja/language/types/type-juggling.xml:1.3 phpdoc-ja/language/types/type-juggling.xml:1.4 --- phpdoc-ja/language/types/type-juggling.xml:1.3 Wed Aug 13 03:34:58 2008 +++ phpdoc-ja/language/types/type-juggling.xml Tue Feb 10 08:52:41 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> <!-- CREDITS: hirokawa,shimooka --> <sect1 xml:id="language.types.type-juggling"> <title>型の相互変換</title> @@ -178,7 +178,7 @@ <programlisting role="php"> <![CDATA[ <?php -$binary = (binary)$string; +$binary = (binary) $string; $binary = b"binary string"; ?> ]]> http://cvs.php.net/viewvc.cgi/phpdoc-ja/language/types/string.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-ja/language/types/string.xml diff -u phpdoc-ja/language/types/string.xml:1.10 phpdoc-ja/language/types/string.xml:1.11 --- phpdoc-ja/language/types/string.xml:1.10 Thu Jan 29 20:39:16 2009 +++ phpdoc-ja/language/types/string.xml Tue Feb 10 08:52:41 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.17 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.18 Maintainer: takagi Status: ready --> <!-- CREDITS: hirokawa,shimooka --> <sect1 xml:id="language.types.string"> <title>文字列</title>
« previous php.doc.ja (#2417) next »