cvs: phpdoc-ja /language types.xml /reference/dbplus reference.xml /reference/filesystem/functions fread.xml parse-ini-file.xml
/reference/image/functions imagechar.xml imagecharup.xml imageloadfont.xml imagepsloadfont.xml imagestring.xml imagettftext.xml
/reference/mysqli/functions mysqli-stmt-send-long-data.xml /reference/var/functions unset.xml
| From: | TAKAGI Masahiro | Date: | Tue, 31 Jan 2006 04:08:14 +0000 |
| Subject: | cvs: phpdoc-ja /language types.xml /reference/dbplus reference.xml /reference/filesystem/functions fread.xml parse-ini-file.xml /reference/image/functions imagechar.xml imagecharup.xml imageloadfont.xml imagepsloadfont.xml imagestring.xml imagettftext.xml /reference/mysqli/functions mysqli-stmt-send-long-data.xml /reference/var/functions unset.xml |
||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-1450@lists.php.net to get a copy of this message | ||
takagi Tue Jan 31 04:08:14 2006 UTC
Modified files:
/phpdoc-ja/reference/var/functions unset.xml
/phpdoc-ja/reference/mysqli/functions
mysqli-stmt-send-long-data.xml
/phpdoc-ja/reference/image/functions imagettftext.xml
imagestring.xml
imagepsloadfont.xml
imageloadfont.xml
imagecharup.xml imagechar.xml
/phpdoc-ja/reference/filesystem/functions parse-ini-file.xml
fread.xml
/phpdoc-ja/reference/dbplus reference.xml
/phpdoc-ja/language types.xml
Log:
sync with en.
http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/var/functions/unset.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/var/functions/unset.xml diff -u phpdoc-ja/reference/var/functions/unset.xml:1.6 phpdoc-ja/reference/var/functions/unset.xml:1.7 --- phpdoc-ja/reference/var/functions/unset.xml:1.6 Thu Nov 3 16:49:24 2005 +++ phpdoc-ja/reference/var/functions/unset.xml Tue Jan 31 04:08:13 2006 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./ja/functions/var.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.13 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.14 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.unset"> <refnamediv> @@ -17,16 +17,16 @@ <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> </methodsynopsis> <para> - <function>unset</function>ã¯æå®ãã夿°ãç ´æ£ãã¾ããPHP 3ã§ã¯ã - <function>unset</function> ã¯å¸¸ã« &true;(å®éã«ã¯æ´æ°å¤1) ãè¿ã㦠- ãã¾ãããããããPHP 4ã§ã¯ <function>unset</function> ã¯ãã¯ãç - ã®æå³ã§é¢æ°ã§ã¯ãªããå½ä»¤ã¨ãªã£ã¦ãã¾ããå¤ãè¿ãããªãããã - <function>unset</function> ã®å¤ãåå¾ãããã¨ããã¨ããã¼ã¹ã¨ã©ã¼ - ã¨ãªãã¾ãã + <function>unset</function> ã¯æå®ãã夿°ãç ´æ£ãã¾ããPHP 3 ã§ã¯ã + <function>unset</function> ã¯å¸¸ã« &true;(å®éã«ã¯æ´æ°å¤ 1) ãè¿ãã¦ãã¾ããã + ããããPHP 4 ã§ã¯ <function>unset</function> 㯠+ ãã¯ãçã®æå³ã§é¢æ°ã§ã¯ãªããå½ä»¤ã¨ãªã£ã¦ãã¾ããå¤ãè¿ãããªãããã + <function>unset</function> ã®å¤ãåå¾ãããã¨ããã¨ã + ãã¼ã¹ã¨ã©ã¼ã¨ãªãã¾ãã </para> <para> <example> - <title><function>unset</function>ã®ä¾</title> + <title><function>unset</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php @@ -43,14 +43,20 @@ </programlisting> </example> </para> - <para> - 颿°<function>unset</function>ã®å é¨åä½ã¯ãç ´æ£ãããã¨ãã夿° - ã®åã«ä¾åãã¾ãã + <note> + <para> + ç¾å¨ã®ã³ã³ããã¹ãã§è¦ãããã®ã§ããã°ã + ãªãã¸ã§ã¯ãã®ããããã£ã§ãããç ´æ£ãããã¨ãå¯è½ã§ãã + </para> + </note> + <para> + 颿° <function>unset</function> ã®å é¨åä½ã¯ã + ç ´æ£ãããã¨ãã夿°ã®åã«ä¾åãã¾ãã </para> <para> - ããã°ãã¼ãã«å¤æ°ã颿°ã®ä¸ã§<function>unset</function>ãããå ´ - åããã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã«ãã夿°ã¯ã - <function>unset</function>ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã + ããã°ãã¼ãã«å¤æ°ã颿°ã®ä¸ã§ <function>unset</function> + ãããå ´åããã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã«ãã夿°ã¯ã + <function>unset</function> ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã <informalexample> <programlisting role="php"> <![CDATA[ @@ -99,9 +105,9 @@ </informalexample> </para> <para> - åç §æ¸¡ãããã夿°ã颿°å ã§<function>unset</function>ãããå ´å - ã«ããã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã§ãã®å¤æ°ã¯ã - <function>unset</function>ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã + åç §æ¸¡ãããã夿°ã颿°å ã§ <function>unset</function> ãããå ´åã«ã + ãã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã§ãã®å¤æ°ã¯ã + <function>unset</function> ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã <informalexample> <programlisting role="php"> <![CDATA[ @@ -175,8 +181,8 @@ ¬e.language-construct; <para> - <function>isset</function>, - <function>empty</function>, + <function>isset</function>ã + <function>empty</function>ã <function>array_splice</function> ãåç §ãã ããã </para> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml diff -u phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.1 phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.2 --- phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.1 Sun Sep 25 05:43:27 2005 +++ phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> <refentry id="function.mysqli-stmt-send-long-data"> <refnamediv> <refname>mysqli_stmt_send_long_data</refname> @@ -43,6 +43,27 @@ <para>&return.success;</para> </refsect1> <refsect1> + &reftitle.examples; + <example> + <title>ãªãã¸ã§ã¯ãæåå½¢å¼</title> + <programlisting role="php"> +<![CDATA[ +<?php +$stmt = $mysqli->prepare("INSERT INTO messages (message) VALUES (?)"); +$null = NULL; +$stmt->bind_param("b", $null); +$fp = fopen("messages.txt", "r"); +while (!feof($fp)) { + $stmt->send_long_data(0, fread($fp, 8192)); +} +fclose($fp); +$stmt->execute(); +?> +]]> + </programlisting> + </example> + </refsect1> + <refsect1> &reftitle.seealso; <para> <function>mysqli_prepare</function>&listendand; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagettftext.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/image/functions/imagettftext.xml diff -u phpdoc-ja/reference/image/functions/imagettftext.xml:1.7 phpdoc-ja/reference/image/functions/imagettftext.xml:1.8 --- phpdoc-ja/reference/image/functions/imagettftext.xml:1.7 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imagettftext.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.17 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.18 Maintainer: hirokawa Status: ready --> <refentry id="function.imagettftext"> <refnamediv> <refname>imagettftext</refname> @@ -170,6 +170,7 @@ $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128); $black = imagecolorallocate($im, 0, 0, 0); +imagefilledrectangle($im, 0, 0, 399, 29, $white); // æç»ããæåå $text = 'Testing...'; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagestring.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imagestring.xml diff -u phpdoc-ja/reference/image/functions/imagestring.xml:1.6 phpdoc-ja/reference/image/functions/imagestring.xml:1.7 --- phpdoc-ja/reference/image/functions/imagestring.xml:1.6 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imagestring.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagestring"> <refnamediv> @@ -32,7 +32,7 @@ <![CDATA[ <?php // 100*30 ã®ç»åãçæãã -$im = imagecreatetruecolor(100, 30); +$im = imagecreate(100, 30); // ç½è²ã®èæ¯ã¨éè²ã®ããã¹ã $bg = imagecolorallocate($im, 255, 255, 255); @@ -42,8 +42,8 @@ imagestring($im, 5, 0, 0, "Hello world!", $textcolor); // ç»åãåºåãã -header("Content-type: image/jpeg"); -imagejpeg($im); +header("Content-type: image/png"); +imagepng($im); ?> ]]> </programlisting> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagepsloadfont.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/image/functions/imagepsloadfont.xml diff -u phpdoc-ja/reference/image/functions/imagepsloadfont.xml:1.7 phpdoc-ja/reference/image/functions/imagepsloadfont.xml:1.8 --- phpdoc-ja/reference/image/functions/imagepsloadfont.xml:1.7 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imagepsloadfont.xml Tue Jan 31 04:08:13 2006 @@ -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.9 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagepsloadfont"> <refnamediv> @@ -24,14 +24,15 @@ <programlisting role="php"> <![CDATA[ <?php -header("Content-type: image/jpeg"); +header("Content-type: image/png"); $im = imagecreatetruecolor(350, 45); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); +imagefilledrectangle($im, 0, 0, 349, 44, $white); $font = imagepsloadfont("bchbi.pfb"); // ãããã¯ããªãã®ãã·ã³ã«ããç¬èªã® .pfb ãã¡ã¤ã«ãæå®ãã imagepstext($im, "Testing... It worked!", $font, 32, $white, $black, 32, 32); imagepsfreefont($font); -imagejpeg($im, "", 100); //æé«å質ã®ããã«ã¯...éã®ãã¯å¤ãããã +imagepng($im); imagedestroy($im); ?> ]]> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imageloadfont.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imageloadfont.xml diff -u phpdoc-ja/reference/image/functions/imageloadfont.xml:1.6 phpdoc-ja/reference/image/functions/imageloadfont.xml:1.7 --- phpdoc-ja/reference/image/functions/imageloadfont.xml:1.6 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imageloadfont.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imageloadfont"> <refnamediv> @@ -76,6 +76,7 @@ <programlisting role="php"> <![CDATA[ <?php +header("Content-type: image/png"); $im = imagecreatetruecolor(50, 20); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagecharup.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imagecharup.xml diff -u phpdoc-ja/reference/image/functions/imagecharup.xml:1.6 phpdoc-ja/reference/image/functions/imagecharup.xml:1.7 --- phpdoc-ja/reference/image/functions/imagecharup.xml:1.6 Sat Sep 10 04:05:16 2005 +++ phpdoc-ja/reference/image/functions/imagecharup.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagecharup"> <refnamediv> @@ -32,7 +32,7 @@ <![CDATA[ <?php -$im = imagecreatetruecolor(100, 100); +$im = imagecreate(100, 100); $string = 'Note that the first letter is a N'; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagechar.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imagechar.xml diff -u phpdoc-ja/reference/image/functions/imagechar.xml:1.6 phpdoc-ja/reference/image/functions/imagechar.xml:1.7 --- phpdoc-ja/reference/image/functions/imagechar.xml:1.6 Sat Sep 10 04:05:16 2005 +++ phpdoc-ja/reference/image/functions/imagechar.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagechar"> <refnamediv> @@ -33,7 +33,7 @@ <![CDATA[ <?php -$im = imagecreatetruecolor(100, 100); +$im = imagecreate(100, 100); $string = 'PHP'; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml diff -u phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml:1.8 phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml:1.9 --- phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml:1.8 Wed Dec 7 23:56:53 2005 +++ phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.22 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.23 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.parse-ini-file"> <refnamediv> @@ -53,7 +53,7 @@ ini ãã¡ã¤ã«ä¸ã§ãã¼ã¨ãã¦ä½¿ã£ã¦ã¯ãããªãåèªãããã¾ãã ããã㯠null, yes, no, true, false ãªã©ãå«ã¾ãã¾ãã null, no ããã³ false 㯠"" ã¨ãªããyes ããã³ true 㯠"1" ã¨ãªãã¾ãã - æ¬¡ã®æå <literal>|&~![()"</literal> ã¯ãã¼ã§ä½¿ã£ã¦ã¯ããã¾ããã + æ¬¡ã®æå <literal>{}|&~![()"</literal> ã¯ããã¼ã§ä½¿ã£ã¦ã¯ããã¾ããã ã¾ããå¤ã®ä¸ã§ç¹å¥ãªæå³ãæã¡ã¾ãã </simpara> </note> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/filesystem/functions/fread.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-ja/reference/filesystem/functions/fread.xml diff -u phpdoc-ja/reference/filesystem/functions/fread.xml:1.11 phpdoc-ja/reference/filesystem/functions/fread.xml:1.12 --- phpdoc-ja/reference/filesystem/functions/fread.xml:1.11 Sat Jan 14 01:12:08 2006 +++ phpdoc-ja/reference/filesystem/functions/fread.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.20 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.21 Maintainer: hirokawa Status: ready --> <refentry id="function.fread"> <refnamediv> <refname>fread</refname> @@ -19,9 +19,8 @@ èªã¿è¾¼ã¿ã¾ããèªã¿è¾¼ã¿ã¯ãæé« <parameter>length</parameter> ãã¤ãå èªã¿è¾¼ã¾ããããEOFï¼ãã¡ã¤ã«ã®çµç«¯ï¼ã«éããå ´åã ãã±ãããå©ç¨å¯è½ã«ãªã£ãå ´åï¼ãããã¯ã¼ã¯ã¹ããªã¼ã ã®å ´åï¼ã - ããã㯠8192 ãã¤ããèªã¿è¾¼ã¾ããå ´å - ï¼ã¦ã¼ã¶å®ç¾©ã¹ããªã¼ã ã®å ´åï¼ - ã®ãã¡ãæåã«çºçããäºè±¡ã«ãã䏿¢ããã¾ãã + ãããã¯ï¼ã¦ã¼ã¶å®ç¾©ã¹ããªã¼ã ããªã¼ãã³ããå¾ã§ï¼ + 8192 ãã¤ããèªã¿è¾¼ã¾ããå ´åã®ãã¡ãæåã«çºçããäºè±¡ã«ãã䏿¢ããã¾ãã </simpara> <simpara> èªã¿è¾¼ãã æååãã¾ãã¯ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/dbplus/reference.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-ja/reference/dbplus/reference.xml diff -u phpdoc-ja/reference/dbplus/reference.xml:1.4 phpdoc-ja/reference/dbplus/reference.xml:1.5 --- phpdoc-ja/reference/dbplus/reference.xml:1.4 Sun Oct 16 10:05:19 2005 +++ phpdoc-ja/reference/dbplus/reference.xml Tue Jan 31 04:08:14 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> <!-- Purpose: database.vendors --> <!-- Membership: pecl, external --> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/language/types.xml?r1=1.44&r2=1.45&diff_format=u Index: phpdoc-ja/language/types.xml diff -u phpdoc-ja/language/types.xml:1.44 phpdoc-ja/language/types.xml:1.45 --- phpdoc-ja/language/types.xml:1.44 Thu Jan 26 03:42:42 2006 +++ phpdoc-ja/language/types.xml Tue Jan 31 04:08:14 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.44 $ --> -<!-- EN-Revision: 1.157 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.45 $ --> +<!-- EN-Revision: 1.158 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <chapter id="language.types"> <title>å</title> @@ -2041,6 +2041,8 @@ </example> <para> é åã®å²ãå½ã¦ã«ããã¦å¸¸ã«å¤ãã³ãã¼ããããã¨ã«æ³¨æãã¦ãã ããã + ããã¯ã<function>current</function> ããã³é¡ä¼¼ã®é¢æ°ã使ç¨ãã + å é¨é åãã¤ã³ã¿ã®å¤ããªã»ãããããã¨ãããã¨ãæå³ãã¾ãã é åããªãã¡ã¬ã³ã¹ã§ã³ãã¼ããå ´åã«ã¯ãªãã¡ã¬ã³ã¹æ¼ç®åã 使ãå¿ è¦ãããã¾ãã <informalexample>
http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/var/functions/unset.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/var/functions/unset.xml diff -u phpdoc-ja/reference/var/functions/unset.xml:1.6 phpdoc-ja/reference/var/functions/unset.xml:1.7 --- phpdoc-ja/reference/var/functions/unset.xml:1.6 Thu Nov 3 16:49:24 2005 +++ phpdoc-ja/reference/var/functions/unset.xml Tue Jan 31 04:08:13 2006 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./ja/functions/var.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.13 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.14 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.unset"> <refnamediv> @@ -17,16 +17,16 @@ <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> </methodsynopsis> <para> - <function>unset</function>ã¯æå®ãã夿°ãç ´æ£ãã¾ããPHP 3ã§ã¯ã - <function>unset</function> ã¯å¸¸ã« &true;(å®éã«ã¯æ´æ°å¤1) ãè¿ã㦠- ãã¾ãããããããPHP 4ã§ã¯ <function>unset</function> ã¯ãã¯ãç - ã®æå³ã§é¢æ°ã§ã¯ãªããå½ä»¤ã¨ãªã£ã¦ãã¾ããå¤ãè¿ãããªãããã - <function>unset</function> ã®å¤ãåå¾ãããã¨ããã¨ããã¼ã¹ã¨ã©ã¼ - ã¨ãªãã¾ãã + <function>unset</function> ã¯æå®ãã夿°ãç ´æ£ãã¾ããPHP 3 ã§ã¯ã + <function>unset</function> ã¯å¸¸ã« &true;(å®éã«ã¯æ´æ°å¤ 1) ãè¿ãã¦ãã¾ããã + ããããPHP 4 ã§ã¯ <function>unset</function> 㯠+ ãã¯ãçã®æå³ã§é¢æ°ã§ã¯ãªããå½ä»¤ã¨ãªã£ã¦ãã¾ããå¤ãè¿ãããªãããã + <function>unset</function> ã®å¤ãåå¾ãããã¨ããã¨ã + ãã¼ã¹ã¨ã©ã¼ã¨ãªãã¾ãã </para> <para> <example> - <title><function>unset</function>ã®ä¾</title> + <title><function>unset</function> ã®ä¾</title> <programlisting role="php"> <![CDATA[ <?php @@ -43,14 +43,20 @@ </programlisting> </example> </para> - <para> - 颿°<function>unset</function>ã®å é¨åä½ã¯ãç ´æ£ãããã¨ãã夿° - ã®åã«ä¾åãã¾ãã + <note> + <para> + ç¾å¨ã®ã³ã³ããã¹ãã§è¦ãããã®ã§ããã°ã + ãªãã¸ã§ã¯ãã®ããããã£ã§ãããç ´æ£ãããã¨ãå¯è½ã§ãã + </para> + </note> + <para> + 颿° <function>unset</function> ã®å é¨åä½ã¯ã + ç ´æ£ãããã¨ãã夿°ã®åã«ä¾åãã¾ãã </para> <para> - ããã°ãã¼ãã«å¤æ°ã颿°ã®ä¸ã§<function>unset</function>ãããå ´ - åããã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã«ãã夿°ã¯ã - <function>unset</function>ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã + ããã°ãã¼ãã«å¤æ°ã颿°ã®ä¸ã§ <function>unset</function> + ãããå ´åããã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã«ãã夿°ã¯ã + <function>unset</function> ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã <informalexample> <programlisting role="php"> <![CDATA[ @@ -99,9 +105,9 @@ </informalexample> </para> <para> - åç §æ¸¡ãããã夿°ã颿°å ã§<function>unset</function>ãããå ´å - ã«ããã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã§ãã®å¤æ°ã¯ã - <function>unset</function>ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã + åç §æ¸¡ãããã夿°ã颿°å ã§ <function>unset</function> ãããå ´åã«ã + ãã¼ã«ã«å¤æ°ã®ã¿ãç ´æ£ããã¾ããå¼åºå´ã®ç°å¢ã§ãã®å¤æ°ã¯ã + <function>unset</function> ãã³ã¼ã«ãããåã¨åãå¤ãä¿æãã¾ãã <informalexample> <programlisting role="php"> <![CDATA[ @@ -175,8 +181,8 @@ ¬e.language-construct; <para> - <function>isset</function>, - <function>empty</function>, + <function>isset</function>ã + <function>empty</function>ã <function>array_splice</function> ãåç §ãã ããã </para> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml diff -u phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.1 phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.2 --- phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml:1.1 Sun Sep 25 05:43:27 2005 +++ phpdoc-ja/reference/mysqli/functions/mysqli-stmt-send-long-data.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready --> <refentry id="function.mysqli-stmt-send-long-data"> <refnamediv> <refname>mysqli_stmt_send_long_data</refname> @@ -43,6 +43,27 @@ <para>&return.success;</para> </refsect1> <refsect1> + &reftitle.examples; + <example> + <title>ãªãã¸ã§ã¯ãæåå½¢å¼</title> + <programlisting role="php"> +<![CDATA[ +<?php +$stmt = $mysqli->prepare("INSERT INTO messages (message) VALUES (?)"); +$null = NULL; +$stmt->bind_param("b", $null); +$fp = fopen("messages.txt", "r"); +while (!feof($fp)) { + $stmt->send_long_data(0, fread($fp, 8192)); +} +fclose($fp); +$stmt->execute(); +?> +]]> + </programlisting> + </example> + </refsect1> + <refsect1> &reftitle.seealso; <para> <function>mysqli_prepare</function>&listendand; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagettftext.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/image/functions/imagettftext.xml diff -u phpdoc-ja/reference/image/functions/imagettftext.xml:1.7 phpdoc-ja/reference/image/functions/imagettftext.xml:1.8 --- phpdoc-ja/reference/image/functions/imagettftext.xml:1.7 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imagettftext.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.17 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.18 Maintainer: hirokawa Status: ready --> <refentry id="function.imagettftext"> <refnamediv> <refname>imagettftext</refname> @@ -170,6 +170,7 @@ $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128); $black = imagecolorallocate($im, 0, 0, 0); +imagefilledrectangle($im, 0, 0, 399, 29, $white); // æç»ããæåå $text = 'Testing...'; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagestring.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imagestring.xml diff -u phpdoc-ja/reference/image/functions/imagestring.xml:1.6 phpdoc-ja/reference/image/functions/imagestring.xml:1.7 --- phpdoc-ja/reference/image/functions/imagestring.xml:1.6 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imagestring.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagestring"> <refnamediv> @@ -32,7 +32,7 @@ <![CDATA[ <?php // 100*30 ã®ç»åãçæãã -$im = imagecreatetruecolor(100, 30); +$im = imagecreate(100, 30); // ç½è²ã®èæ¯ã¨éè²ã®ããã¹ã $bg = imagecolorallocate($im, 255, 255, 255); @@ -42,8 +42,8 @@ imagestring($im, 5, 0, 0, "Hello world!", $textcolor); // ç»åãåºåãã -header("Content-type: image/jpeg"); -imagejpeg($im); +header("Content-type: image/png"); +imagepng($im); ?> ]]> </programlisting> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagepsloadfont.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-ja/reference/image/functions/imagepsloadfont.xml diff -u phpdoc-ja/reference/image/functions/imagepsloadfont.xml:1.7 phpdoc-ja/reference/image/functions/imagepsloadfont.xml:1.8 --- phpdoc-ja/reference/image/functions/imagepsloadfont.xml:1.7 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imagepsloadfont.xml Tue Jan 31 04:08:13 2006 @@ -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.9 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagepsloadfont"> <refnamediv> @@ -24,14 +24,15 @@ <programlisting role="php"> <![CDATA[ <?php -header("Content-type: image/jpeg"); +header("Content-type: image/png"); $im = imagecreatetruecolor(350, 45); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); +imagefilledrectangle($im, 0, 0, 349, 44, $white); $font = imagepsloadfont("bchbi.pfb"); // ãããã¯ããªãã®ãã·ã³ã«ããç¬èªã® .pfb ãã¡ã¤ã«ãæå®ãã imagepstext($im, "Testing... It worked!", $font, 32, $white, $black, 32, 32); imagepsfreefont($font); -imagejpeg($im, "", 100); //æé«å質ã®ããã«ã¯...éã®ãã¯å¤ãããã +imagepng($im); imagedestroy($im); ?> ]]> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imageloadfont.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imageloadfont.xml diff -u phpdoc-ja/reference/image/functions/imageloadfont.xml:1.6 phpdoc-ja/reference/image/functions/imageloadfont.xml:1.7 --- phpdoc-ja/reference/image/functions/imageloadfont.xml:1.6 Sat Sep 10 04:05:17 2005 +++ phpdoc-ja/reference/image/functions/imageloadfont.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imageloadfont"> <refnamediv> @@ -76,6 +76,7 @@ <programlisting role="php"> <![CDATA[ <?php +header("Content-type: image/png"); $im = imagecreatetruecolor(50, 20); $black = imagecolorallocate($im, 0, 0, 0); $white = imagecolorallocate($im, 255, 255, 255); http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagecharup.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imagecharup.xml diff -u phpdoc-ja/reference/image/functions/imagecharup.xml:1.6 phpdoc-ja/reference/image/functions/imagecharup.xml:1.7 --- phpdoc-ja/reference/image/functions/imagecharup.xml:1.6 Sat Sep 10 04:05:16 2005 +++ phpdoc-ja/reference/image/functions/imagecharup.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagecharup"> <refnamediv> @@ -32,7 +32,7 @@ <![CDATA[ <?php -$im = imagecreatetruecolor(100, 100); +$im = imagecreate(100, 100); $string = 'Note that the first letter is a N'; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/image/functions/imagechar.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-ja/reference/image/functions/imagechar.xml diff -u phpdoc-ja/reference/image/functions/imagechar.xml:1.6 phpdoc-ja/reference/image/functions/imagechar.xml:1.7 --- phpdoc-ja/reference/image/functions/imagechar.xml:1.6 Sat Sep 10 04:05:16 2005 +++ phpdoc-ja/reference/image/functions/imagechar.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.imagechar"> <refnamediv> @@ -33,7 +33,7 @@ <![CDATA[ <?php -$im = imagecreatetruecolor(100, 100); +$im = imagecreate(100, 100); $string = 'PHP'; http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml diff -u phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml:1.8 phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml:1.9 --- phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml:1.8 Wed Dec 7 23:56:53 2005 +++ phpdoc-ja/reference/filesystem/functions/parse-ini-file.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.22 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.23 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.parse-ini-file"> <refnamediv> @@ -53,7 +53,7 @@ ini ãã¡ã¤ã«ä¸ã§ãã¼ã¨ãã¦ä½¿ã£ã¦ã¯ãããªãåèªãããã¾ãã ããã㯠null, yes, no, true, false ãªã©ãå«ã¾ãã¾ãã null, no ããã³ false 㯠"" ã¨ãªããyes ããã³ true 㯠"1" ã¨ãªãã¾ãã - æ¬¡ã®æå <literal>|&~![()"</literal> ã¯ãã¼ã§ä½¿ã£ã¦ã¯ããã¾ããã + æ¬¡ã®æå <literal>{}|&~![()"</literal> ã¯ããã¼ã§ä½¿ã£ã¦ã¯ããã¾ããã ã¾ããå¤ã®ä¸ã§ç¹å¥ãªæå³ãæã¡ã¾ãã </simpara> </note> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/filesystem/functions/fread.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-ja/reference/filesystem/functions/fread.xml diff -u phpdoc-ja/reference/filesystem/functions/fread.xml:1.11 phpdoc-ja/reference/filesystem/functions/fread.xml:1.12 --- phpdoc-ja/reference/filesystem/functions/fread.xml:1.11 Sat Jan 14 01:12:08 2006 +++ phpdoc-ja/reference/filesystem/functions/fread.xml Tue Jan 31 04:08:13 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.20 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.21 Maintainer: hirokawa Status: ready --> <refentry id="function.fread"> <refnamediv> <refname>fread</refname> @@ -19,9 +19,8 @@ èªã¿è¾¼ã¿ã¾ããèªã¿è¾¼ã¿ã¯ãæé« <parameter>length</parameter> ãã¤ãå èªã¿è¾¼ã¾ããããEOFï¼ãã¡ã¤ã«ã®çµç«¯ï¼ã«éããå ´åã ãã±ãããå©ç¨å¯è½ã«ãªã£ãå ´åï¼ãããã¯ã¼ã¯ã¹ããªã¼ã ã®å ´åï¼ã - ããã㯠8192 ãã¤ããèªã¿è¾¼ã¾ããå ´å - ï¼ã¦ã¼ã¶å®ç¾©ã¹ããªã¼ã ã®å ´åï¼ - ã®ãã¡ãæåã«çºçããäºè±¡ã«ãã䏿¢ããã¾ãã + ãããã¯ï¼ã¦ã¼ã¶å®ç¾©ã¹ããªã¼ã ããªã¼ãã³ããå¾ã§ï¼ + 8192 ãã¤ããèªã¿è¾¼ã¾ããå ´åã®ãã¡ãæåã«çºçããäºè±¡ã«ãã䏿¢ããã¾ãã </simpara> <simpara> èªã¿è¾¼ãã æååãã¾ãã¯ã¨ã©ã¼æã«ã¯ &false; ãè¿ãã¾ãã http://cvs.php.net/viewcvs.cgi/phpdoc-ja/reference/dbplus/reference.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-ja/reference/dbplus/reference.xml diff -u phpdoc-ja/reference/dbplus/reference.xml:1.4 phpdoc-ja/reference/dbplus/reference.xml:1.5 --- phpdoc-ja/reference/dbplus/reference.xml:1.4 Sun Oct 16 10:05:19 2005 +++ phpdoc-ja/reference/dbplus/reference.xml Tue Jan 31 04:08:14 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: ready --> <!-- Purpose: database.vendors --> <!-- Membership: pecl, external --> http://cvs.php.net/viewcvs.cgi/phpdoc-ja/language/types.xml?r1=1.44&r2=1.45&diff_format=u Index: phpdoc-ja/language/types.xml diff -u phpdoc-ja/language/types.xml:1.44 phpdoc-ja/language/types.xml:1.45 --- phpdoc-ja/language/types.xml:1.44 Thu Jan 26 03:42:42 2006 +++ phpdoc-ja/language/types.xml Tue Jan 31 04:08:14 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.44 $ --> -<!-- EN-Revision: 1.157 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.45 $ --> +<!-- EN-Revision: 1.158 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <chapter id="language.types"> <title>å</title> @@ -2041,6 +2041,8 @@ </example> <para> é åã®å²ãå½ã¦ã«ããã¦å¸¸ã«å¤ãã³ãã¼ããããã¨ã«æ³¨æãã¦ãã ããã + ããã¯ã<function>current</function> ããã³é¡ä¼¼ã®é¢æ°ã使ç¨ãã + å é¨é åãã¤ã³ã¿ã®å¤ããªã»ãããããã¨ãããã¨ãæå³ãã¾ãã é åããªãã¡ã¬ã³ã¹ã§ã³ãã¼ããå ´åã«ã¯ãªãã¡ã¬ã³ã¹æ¼ç®åã 使ãå¿ è¦ãããã¾ãã <informalexample>