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: | TAKAGI Masahiro | 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>
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>