cvs: phpdoc-ja /appendices wrappers.xml /internals/zendapi creating.xml /reference/gmp/functions gmp-div-q.xml /reference/pdo constants.xml
| From: | TAKAGI Masahiro | Date: | Sat, 23 Sep 2006 06:26:37 +0000 |
| Subject: | cvs: phpdoc-ja /appendices wrappers.xml /internals/zendapi creating.xml /reference/gmp/functions gmp-div-q.xml /reference/pdo constants.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-1616@lists.php.net to get a copy of this message | ||
takagi Sat Sep 23 06:26:37 2006 UTC
Modified files:
/phpdoc-ja/reference/pdo constants.xml
/phpdoc-ja/reference/gmp/functions gmp-div-q.xml
/phpdoc-ja/internals/zendapi creating.xml
/phpdoc-ja/appendices wrappers.xml
Log:
sync with en.
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/pdo/constants.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-ja/reference/pdo/constants.xml diff -u phpdoc-ja/reference/pdo/constants.xml:1.11 phpdoc-ja/reference/pdo/constants.xml:1.12 --- phpdoc-ja/reference/pdo/constants.xml:1.11 Fri May 5 05:27:15 2006 +++ phpdoc-ja/reference/pdo/constants.xml Sat Sep 23 06:26:37 2006 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.15 Maintainer: shimooka Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.17 Maintainer: shimooka Status: ready --> <!-- CREDITS: hirokawa --> <section id="pdo.constants"> &reftitle.constants; @@ -281,7 +281,7 @@ </term> <listitem> <simpara> - + PHP 5.2.0 以éã§ä½¿ç¨å¯è½ã§ãã </simpara> </listitem> </varlistentry> @@ -509,7 +509,7 @@ </term> <listitem> <simpara> - + PHP 5.2.0 以éã§ä½¿ç¨å¯è½ã§ãã </simpara> </listitem> </varlistentry> @@ -594,7 +594,7 @@ </varlistentry> <varlistentry> <term> - <constant>PDO::PDO_NULL_NATURAL</constant> + <constant>PDO::NULL_NATURAL</constant> (<type>integer</type>) </term> <listitem> @@ -605,7 +605,7 @@ </varlistentry> <varlistentry> <term> - <constant>PDO::PDO_NULL_EMPTY_STRING</constant> + <constant>PDO::NULL_EMPTY_STRING</constant> (<type>integer</type>) </term> <listitem> @@ -616,7 +616,7 @@ </varlistentry> <varlistentry> <term> - <constant>PDO::PDO_NULL_TO_STRING</constant> + <constant>PDO::NULL_TO_STRING</constant> (<type>integer</type>) </term> <listitem> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/gmp/functions/gmp-div-q.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/reference/gmp/functions/gmp-div-q.xml diff -u phpdoc-ja/reference/gmp/functions/gmp-div-q.xml:1.5 phpdoc-ja/reference/gmp/functions/gmp-div-q.xml:1.6 --- phpdoc-ja/reference/gmp/functions/gmp-div-q.xml:1.5 Fri Nov 11 21:15:54 2005 +++ phpdoc-ja/reference/gmp/functions/gmp-div-q.xml Sat Sep 23 06:26:37 2006 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./ja/functions/gmp.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> <refentry id="function.gmp-div-q"> <refnamediv> <refname>gmp_div_q</refname> @@ -74,7 +74,7 @@ 0 1 0 -1 +-1 ]]> </screen> </example> http://cvs.php.net/viewvc.cgi/phpdoc-ja/internals/zendapi/creating.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-ja/internals/zendapi/creating.xml diff -u phpdoc-ja/internals/zendapi/creating.xml:1.1 phpdoc-ja/internals/zendapi/creating.xml:1.2 --- phpdoc-ja/internals/zendapi/creating.xml:1.1 Fri May 5 05:28:26 2006 +++ phpdoc-ja/internals/zendapi/creating.xml Sat Sep 23 06:26:37 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <sect1 id="zend.creating"> <title>æ¡å¼µã¢ã¸ã¥ã¼ã«ã®ä½æ</title> <para> @@ -147,7 +147,7 @@ </row> <row> <entry colname="col1">ã³ã³ãã¤ã«</entry> - <entry colname="col2">cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I. + <entry colname="col2">cc -fpic -DCOMPILE_DL_FIRST_MODULE=1 -I/usr/local/include -I. -I.. -I../Zend -c -o <filename><your_object_file></filename> <filename><your_c_file></filename></entry> </row> @@ -163,7 +163,7 @@ ã¢ã¸ã¥ã¼ã«ãã³ã³ãã¤ã«ããããã®ã³ãã³ãã§ã¯ãã³ã³ãã¤ã©ã«å¯¾ã㦠ä½ç½®ç¬ç«ãªã³ã¼ããåºåããããã«æç¤ºãã¦ãã¾ã (<literal>-fpic</literal> ã¯çç¥ã§ãã¾ãã)ã - ã¾ãã宿° <literal>COMPILE_DL</literal> ãæå®ãããã¨ã§ã + ã¾ãã宿° <literal>COMPILE_DL_FIRST_MODULE</literal> ãæå®ãããã¨ã§ã ã¢ã¸ã¥ã¼ã«ã®ã³ã¼ããåçãã¼ãå¯è½ãªã¢ã¸ã¥ã¼ã«ã¨ãã¦ã³ã³ãã¤ã«ããããã«ãã¦ãã¾ã (ä¸ã®ãã¹ãã¢ã¸ã¥ã¼ã«ã§ã¯ããããã§ãã¯ãã¦ãã¾ããããã«ã¤ãã¦ã¯å¾ã§èª¬æãã¾ã)ã ãããã®ãªãã·ã§ã³ã«ç¶ãã¦ãã½ã¼ã¹ãã¡ã¤ã«ãã³ã³ãã¤ã«ããããã«å¿ è¦ãª http://cvs.php.net/viewvc.cgi/phpdoc-ja/appendices/wrappers.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc-ja/appendices/wrappers.xml diff -u phpdoc-ja/appendices/wrappers.xml:1.16 phpdoc-ja/appendices/wrappers.xml:1.17 --- phpdoc-ja/appendices/wrappers.xml:1.16 Sun Aug 13 00:31:31 2006 +++ phpdoc-ja/appendices/wrappers.xml Sat Sep 23 06:26:37 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.62 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.65 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <appendix id="wrappers"> <title>ãµãã¼ãããããããã³ã«/ã©ããã¼</title> @@ -611,19 +611,16 @@ <section id="wrappers.php"> <title>PHP å ¥åºåã¹ããªã¼ã </title> - <simpara> - PHP 3.0.13 以éã§ã<filename>php://output</filename>ã - ããã³ PHP 4.3.0 以éã§ <filename>php://input</filename>ã - PHP 5.0.0 以éã§ <filename>php://filter</filename> - </simpara> - + <itemizedlist> <listitem><simpara><filename>php://stdin</filename></simpara></listitem> <listitem><simpara><filename>php://stdout</filename></simpara></listitem> <listitem><simpara><filename>php://stderr</filename></simpara></listitem> <listitem><simpara><filename>php://output</filename></simpara></listitem> <listitem><simpara><filename>php://input</filename></simpara></listitem> - <listitem><simpara><filename>php://filter</filename></simpara></listitem> + <listitem><simpara><filename>php://filter</filename> (PHP 5.0.0 以éã§ä½¿ç¨å¯è½)</simpara></listitem> + <listitem><simpara><filename>php://memory</filename> (PHP 5.1.0 以éã§ä½¿ç¨å¯è½)</simpara></listitem> + <listitem><simpara><filename>php://temp</filename> (PHP 5.1.0 以éã§ä½¿ç¨å¯è½)</simpara></listitem> </itemizedlist> <simpara> @@ -736,6 +733,43 @@ </simpara> </listitem> </itemizedlist> + + <simpara> + <filename>php://memory</filename> ã©ããã¼ã¯ããã¼ã¿ãã¡ã¢ãªã«ä¿åãã¾ãã + <filename>php://temp</filename> ãåæ§ã§ãããã¡ã¢ãªã®å¶é + (ããã©ã«ã㯠2 MB ã§ã) ãè¶ éããéã«ã¯ãã³ãã©ãªãã¡ã¤ã«ã使ç¨ãã¾ãã + </simpara> + <simpara> + <filename>php://temp</filename> ã©ããã¼ã¯ã次㮠+ 'parameters' ã 'path' ã®ä¸é¨ã¨ãã¦åãä»ãã¾ãã + </simpara> + <itemizedlist> + <listitem> + <para> + <literal>/maxmemory:<ãã¤ãæ°></literal> + (<emphasis>ä»»æ</emphasis>) + ãã®ãã©ã¡ã¼ã¿ã¯ãã¡ã¢ãªã®å¶é (ãã¼ã¿ããã³ãã©ãªãã¡ã¤ã«ã«ç§»åããé¾å¤) + ã®ããã©ã«ãå¤ã夿´ãã¾ãã + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +$fiveMBs = 5 * 1024 * 1024; +$fp = fopen("php://temp/maxmemory:$fiveMBs", 'r+'); + +fputs($fp, "hello\n"); + +// å ã»ã©æ¸ãè¾¼ãã ãã¼ã¿ãèªã¿è¾¼ã¿ã¾ãã +rewind($fp); +echo stream_get_contents($fp); +?> +]]> + </programlisting> + </informalexample> + </para> + </listitem> + </itemizedlist> + <para> <table> <title> @@ -757,33 +791,45 @@ <row> <entry>èªã¿è¾¼ã¿è¨±å¯</entry> <entry> - <literal>php://stdin</literal> ããã³ - <literal>php://input</literal> ã®ã¿ã + <literal>php://stdin</literal>ã + <literal>php://input</literal>ã + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã </entry> </row> <row> <entry>æ¸ãè¾¼ã¿è¨±å¯</entry> <entry> <literal>php://stdout</literal>ã - <literal>php://stderr</literal> ããã³ - <literal>php://output</literal> ã®ã¿ã + <literal>php://stderr</literal>ã + <literal>php://output</literal>ã + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã </entry> </row> <row> <entry>追å 許å¯</entry> <entry> <literal>php://stdout</literal>ã - <literal>php://stderr</literal> ããã³ - <literal>php://output</literal> ã®ã¿ï¼æ¸ãè¾¼ã¿ã¨åãï¼ã + <literal>php://stderr</literal>ã + <literal>php://output</literal>ã + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ (æ¸ãè¾¼ã¿ã¨åã)ã </entry> </row> <row> <entry>åæèªã¿æ¸ã許å¯</entry> - <entry>No. ãããã®ã©ããã¼ã¯ä¸æ¹éè¡ã§ãã</entry> + <entry> + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã + </entry> </row> <row> <entry><function>stat</function> ã®ãµãã¼ã</entry> - <entry>No</entry> + <entry> + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã + </entry> </row> <row> <entry><function>unlink</function> ã®ãµãã¼ã</entry> @@ -895,6 +941,100 @@ </table> </para> </section> + + <section id="wrappers.data"> + <title>ãã¼ã¿ (RFC 2397)</title> + <simpara> + <filename>data:</filename> (<ulink url="&url.rfc;2397">RFC + 2397</ulink>) ã¹ããªã¼ã ã©ããã¼ã¯ã PHP 5.2.0 + 以éã§ä½¿ç¨å¯è½ã§ãã + </simpara> + + <example> + <title>data:// ã®å 容ã®è¡¨ç¤º</title> + <programlisting role="php"> +<![CDATA[ +<?php +// "I love PHP" ã¨è¡¨ç¤ºãã¾ã +echo file_get_contents('data://text/plain;base64,SSBsb3ZlIFBIUAo='); +?> +]]> + </programlisting> + </example> + + <example> + <title>media type ã®åå¾</title> + <programlisting role="php"> +<![CDATA[ +<?php +$fp = fopen('data://text/plain;base64,', 'r'); +$meta = stream_get_meta_data($fp); + +// "text/plain" ã¨è¡¨ç¤ºãã¾ã +echo $meta['mediatype']; +?> +]]> + </programlisting> + </example> + + + <para> + <table> + <title>ã©ããã¼ã®æ¦è¦</title> + <tgroup cols="2"> + <thead> + <row> + <entry>屿§</entry> + <entry>ãµãã¼ãã®æç¡</entry> + </row> + </thead> + <tbody> + <row> + <entry><link linkend="ini.allow-url-fopen">allow_url_fopen</link> ã§å¶ç´ããã</entry> + <entry>No</entry> + </row> + <row> + <entry>èªã¿è¾¼ã¿è¨±å¯</entry> + <entry>Yes</entry> + </row> + <row> + <entry>æ¸ãè¾¼ã¿è¨±å¯</entry> + <entry>No</entry> + </row> + <row> + <entry>追å 許å¯</entry> + <entry>No</entry> + </row> + <row> + <entry>åæèªã¿æ¸ã許å¯</entry> + <entry>No</entry> + </row> + <row> + <entry><function>stat</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>unlink</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>rename</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>mkdir</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>rmdir</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </section> + <section id="wrappers.ssh2"> <title>SSH2</title> <simpara>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/pdo/constants.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-ja/reference/pdo/constants.xml diff -u phpdoc-ja/reference/pdo/constants.xml:1.11 phpdoc-ja/reference/pdo/constants.xml:1.12 --- phpdoc-ja/reference/pdo/constants.xml:1.11 Fri May 5 05:27:15 2006 +++ phpdoc-ja/reference/pdo/constants.xml Sat Sep 23 06:26:37 2006 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.15 Maintainer: shimooka Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.17 Maintainer: shimooka Status: ready --> <!-- CREDITS: hirokawa --> <section id="pdo.constants"> &reftitle.constants; @@ -281,7 +281,7 @@ </term> <listitem> <simpara> - + PHP 5.2.0 以éã§ä½¿ç¨å¯è½ã§ãã </simpara> </listitem> </varlistentry> @@ -509,7 +509,7 @@ </term> <listitem> <simpara> - + PHP 5.2.0 以éã§ä½¿ç¨å¯è½ã§ãã </simpara> </listitem> </varlistentry> @@ -594,7 +594,7 @@ </varlistentry> <varlistentry> <term> - <constant>PDO::PDO_NULL_NATURAL</constant> + <constant>PDO::NULL_NATURAL</constant> (<type>integer</type>) </term> <listitem> @@ -605,7 +605,7 @@ </varlistentry> <varlistentry> <term> - <constant>PDO::PDO_NULL_EMPTY_STRING</constant> + <constant>PDO::NULL_EMPTY_STRING</constant> (<type>integer</type>) </term> <listitem> @@ -616,7 +616,7 @@ </varlistentry> <varlistentry> <term> - <constant>PDO::PDO_NULL_TO_STRING</constant> + <constant>PDO::NULL_TO_STRING</constant> (<type>integer</type>) </term> <listitem> http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/gmp/functions/gmp-div-q.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-ja/reference/gmp/functions/gmp-div-q.xml diff -u phpdoc-ja/reference/gmp/functions/gmp-div-q.xml:1.5 phpdoc-ja/reference/gmp/functions/gmp-div-q.xml:1.6 --- phpdoc-ja/reference/gmp/functions/gmp-div-q.xml:1.5 Fri Nov 11 21:15:54 2005 +++ phpdoc-ja/reference/gmp/functions/gmp-div-q.xml Sat Sep 23 06:26:37 2006 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./ja/functions/gmp.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: hirokawa Status: ready --> <refentry id="function.gmp-div-q"> <refnamediv> <refname>gmp_div_q</refname> @@ -74,7 +74,7 @@ 0 1 0 -1 +-1 ]]> </screen> </example> http://cvs.php.net/viewvc.cgi/phpdoc-ja/internals/zendapi/creating.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-ja/internals/zendapi/creating.xml diff -u phpdoc-ja/internals/zendapi/creating.xml:1.1 phpdoc-ja/internals/zendapi/creating.xml:1.2 --- phpdoc-ja/internals/zendapi/creating.xml:1.1 Fri May 5 05:28:26 2006 +++ phpdoc-ja/internals/zendapi/creating.xml Sat Sep 23 06:26:37 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <sect1 id="zend.creating"> <title>æ¡å¼µã¢ã¸ã¥ã¼ã«ã®ä½æ</title> <para> @@ -147,7 +147,7 @@ </row> <row> <entry colname="col1">ã³ã³ãã¤ã«</entry> - <entry colname="col2">cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I. + <entry colname="col2">cc -fpic -DCOMPILE_DL_FIRST_MODULE=1 -I/usr/local/include -I. -I.. -I../Zend -c -o <filename><your_object_file></filename> <filename><your_c_file></filename></entry> </row> @@ -163,7 +163,7 @@ ã¢ã¸ã¥ã¼ã«ãã³ã³ãã¤ã«ããããã®ã³ãã³ãã§ã¯ãã³ã³ãã¤ã©ã«å¯¾ã㦠ä½ç½®ç¬ç«ãªã³ã¼ããåºåããããã«æç¤ºãã¦ãã¾ã (<literal>-fpic</literal> ã¯çç¥ã§ãã¾ãã)ã - ã¾ãã宿° <literal>COMPILE_DL</literal> ãæå®ãããã¨ã§ã + ã¾ãã宿° <literal>COMPILE_DL_FIRST_MODULE</literal> ãæå®ãããã¨ã§ã ã¢ã¸ã¥ã¼ã«ã®ã³ã¼ããåçãã¼ãå¯è½ãªã¢ã¸ã¥ã¼ã«ã¨ãã¦ã³ã³ãã¤ã«ããããã«ãã¦ãã¾ã (ä¸ã®ãã¹ãã¢ã¸ã¥ã¼ã«ã§ã¯ããããã§ãã¯ãã¦ãã¾ããããã«ã¤ãã¦ã¯å¾ã§èª¬æãã¾ã)ã ãããã®ãªãã·ã§ã³ã«ç¶ãã¦ãã½ã¼ã¹ãã¡ã¤ã«ãã³ã³ãã¤ã«ããããã«å¿ è¦ãª http://cvs.php.net/viewvc.cgi/phpdoc-ja/appendices/wrappers.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc-ja/appendices/wrappers.xml diff -u phpdoc-ja/appendices/wrappers.xml:1.16 phpdoc-ja/appendices/wrappers.xml:1.17 --- phpdoc-ja/appendices/wrappers.xml:1.16 Sun Aug 13 00:31:31 2006 +++ phpdoc-ja/appendices/wrappers.xml Sat Sep 23 06:26:37 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.62 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.65 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi --> <appendix id="wrappers"> <title>ãµãã¼ãããããããã³ã«/ã©ããã¼</title> @@ -611,19 +611,16 @@ <section id="wrappers.php"> <title>PHP å ¥åºåã¹ããªã¼ã </title> - <simpara> - PHP 3.0.13 以éã§ã<filename>php://output</filename>ã - ããã³ PHP 4.3.0 以éã§ <filename>php://input</filename>ã - PHP 5.0.0 以éã§ <filename>php://filter</filename> - </simpara> - + <itemizedlist> <listitem><simpara><filename>php://stdin</filename></simpara></listitem> <listitem><simpara><filename>php://stdout</filename></simpara></listitem> <listitem><simpara><filename>php://stderr</filename></simpara></listitem> <listitem><simpara><filename>php://output</filename></simpara></listitem> <listitem><simpara><filename>php://input</filename></simpara></listitem> - <listitem><simpara><filename>php://filter</filename></simpara></listitem> + <listitem><simpara><filename>php://filter</filename> (PHP 5.0.0 以éã§ä½¿ç¨å¯è½)</simpara></listitem> + <listitem><simpara><filename>php://memory</filename> (PHP 5.1.0 以éã§ä½¿ç¨å¯è½)</simpara></listitem> + <listitem><simpara><filename>php://temp</filename> (PHP 5.1.0 以éã§ä½¿ç¨å¯è½)</simpara></listitem> </itemizedlist> <simpara> @@ -736,6 +733,43 @@ </simpara> </listitem> </itemizedlist> + + <simpara> + <filename>php://memory</filename> ã©ããã¼ã¯ããã¼ã¿ãã¡ã¢ãªã«ä¿åãã¾ãã + <filename>php://temp</filename> ãåæ§ã§ãããã¡ã¢ãªã®å¶é + (ããã©ã«ã㯠2 MB ã§ã) ãè¶ éããéã«ã¯ãã³ãã©ãªãã¡ã¤ã«ã使ç¨ãã¾ãã + </simpara> + <simpara> + <filename>php://temp</filename> ã©ããã¼ã¯ã次㮠+ 'parameters' ã 'path' ã®ä¸é¨ã¨ãã¦åãä»ãã¾ãã + </simpara> + <itemizedlist> + <listitem> + <para> + <literal>/maxmemory:<ãã¤ãæ°></literal> + (<emphasis>ä»»æ</emphasis>) + ãã®ãã©ã¡ã¼ã¿ã¯ãã¡ã¢ãªã®å¶é (ãã¼ã¿ããã³ãã©ãªãã¡ã¤ã«ã«ç§»åããé¾å¤) + ã®ããã©ã«ãå¤ã夿´ãã¾ãã + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +$fiveMBs = 5 * 1024 * 1024; +$fp = fopen("php://temp/maxmemory:$fiveMBs", 'r+'); + +fputs($fp, "hello\n"); + +// å ã»ã©æ¸ãè¾¼ãã ãã¼ã¿ãèªã¿è¾¼ã¿ã¾ãã +rewind($fp); +echo stream_get_contents($fp); +?> +]]> + </programlisting> + </informalexample> + </para> + </listitem> + </itemizedlist> + <para> <table> <title> @@ -757,33 +791,45 @@ <row> <entry>èªã¿è¾¼ã¿è¨±å¯</entry> <entry> - <literal>php://stdin</literal> ããã³ - <literal>php://input</literal> ã®ã¿ã + <literal>php://stdin</literal>ã + <literal>php://input</literal>ã + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã </entry> </row> <row> <entry>æ¸ãè¾¼ã¿è¨±å¯</entry> <entry> <literal>php://stdout</literal>ã - <literal>php://stderr</literal> ããã³ - <literal>php://output</literal> ã®ã¿ã + <literal>php://stderr</literal>ã + <literal>php://output</literal>ã + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã </entry> </row> <row> <entry>追å 許å¯</entry> <entry> <literal>php://stdout</literal>ã - <literal>php://stderr</literal> ããã³ - <literal>php://output</literal> ã®ã¿ï¼æ¸ãè¾¼ã¿ã¨åãï¼ã + <literal>php://stderr</literal>ã + <literal>php://output</literal>ã + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ (æ¸ãè¾¼ã¿ã¨åã)ã </entry> </row> <row> <entry>åæèªã¿æ¸ã許å¯</entry> - <entry>No. ãããã®ã©ããã¼ã¯ä¸æ¹éè¡ã§ãã</entry> + <entry> + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã + </entry> </row> <row> <entry><function>stat</function> ã®ãµãã¼ã</entry> - <entry>No</entry> + <entry> + <literal>php://memory</literal> ããã³ + <literal>php://temp</literal> ã®ã¿ã + </entry> </row> <row> <entry><function>unlink</function> ã®ãµãã¼ã</entry> @@ -895,6 +941,100 @@ </table> </para> </section> + + <section id="wrappers.data"> + <title>ãã¼ã¿ (RFC 2397)</title> + <simpara> + <filename>data:</filename> (<ulink url="&url.rfc;2397">RFC + 2397</ulink>) ã¹ããªã¼ã ã©ããã¼ã¯ã PHP 5.2.0 + 以éã§ä½¿ç¨å¯è½ã§ãã + </simpara> + + <example> + <title>data:// ã®å 容ã®è¡¨ç¤º</title> + <programlisting role="php"> +<![CDATA[ +<?php +// "I love PHP" ã¨è¡¨ç¤ºãã¾ã +echo file_get_contents('data://text/plain;base64,SSBsb3ZlIFBIUAo='); +?> +]]> + </programlisting> + </example> + + <example> + <title>media type ã®åå¾</title> + <programlisting role="php"> +<![CDATA[ +<?php +$fp = fopen('data://text/plain;base64,', 'r'); +$meta = stream_get_meta_data($fp); + +// "text/plain" ã¨è¡¨ç¤ºãã¾ã +echo $meta['mediatype']; +?> +]]> + </programlisting> + </example> + + + <para> + <table> + <title>ã©ããã¼ã®æ¦è¦</title> + <tgroup cols="2"> + <thead> + <row> + <entry>屿§</entry> + <entry>ãµãã¼ãã®æç¡</entry> + </row> + </thead> + <tbody> + <row> + <entry><link linkend="ini.allow-url-fopen">allow_url_fopen</link> ã§å¶ç´ããã</entry> + <entry>No</entry> + </row> + <row> + <entry>èªã¿è¾¼ã¿è¨±å¯</entry> + <entry>Yes</entry> + </row> + <row> + <entry>æ¸ãè¾¼ã¿è¨±å¯</entry> + <entry>No</entry> + </row> + <row> + <entry>追å 許å¯</entry> + <entry>No</entry> + </row> + <row> + <entry>åæèªã¿æ¸ã許å¯</entry> + <entry>No</entry> + </row> + <row> + <entry><function>stat</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>unlink</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>rename</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>mkdir</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + <row> + <entry><function>rmdir</function> ã®ãµãã¼ã</entry> + <entry>No</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </section> + <section id="wrappers.ssh2"> <title>SSH2</title> <simpara>