cvs: phpdoc-zh / language-snippets.ent /reference/filesystem/functions copy.xml dirname.xml diskfreespace.xml file-put-contents.xml fileatime.xml
| From: | Dallas Thunder | Date: | Tue, 13 Sep 2005 15:33:33 +0000 |
| Subject: | cvs: phpdoc-zh / language-snippets.ent /reference/filesystem/functions copy.xml dirname.xml diskfreespace.xml file-put-contents.xml fileatime.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2656@lists.php.net to get a copy of this message | ||
dallas Tue Sep 13 11:33:33 2005 EDT
Modified files:
/phpdoc-zh language-snippets.ent
/phpdoc-zh/reference/filesystem/functions copy.xml dirname.xml
diskfreespace.xml
file-put-contents.xml
fileatime.xml
Log:
һЩÓÃÓïµÄÐÞÊÎ
http://cvs.php.net/diff.php/phpdoc-zh/language-snippets.ent?r1=1.64&r2=1.65&ty=u Index: phpdoc-zh/language-snippets.ent diff -u phpdoc-zh/language-snippets.ent:1.64 phpdoc-zh/language-snippets.ent:1.65 --- phpdoc-zh/language-snippets.ent:1.64 Tue Sep 13 11:11:40 2005 +++ phpdoc-zh/language-snippets.ent Tue Sep 13 11:33:30 2005 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="gb2312"?> -<!-- $Revision: 1.64 $ --> +<!-- $Revision: 1.65 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.156 Maintainer: Gregory Status: ready --> <!-- CREDITS: dallas,class007,yincheng --> @@ -13,7 +13,7 @@ <function>clearstatcache</function>¡£</simpara></note>'> <!ENTITY note.context-support '<note><simpara>¶Ô context µÄÖ§³ÖÊÇ -PHP 5.0.0 Ìí¼ÓµÄ¡£ÓÐ¹Ø <literal>context</literal> µÄ˵Ã÷Çë²Î¿¼<xref linkend="ref.stream"/>¡£</simpara></note>'> +PHP 5.0.0 Ìí¼ÓµÄ¡£ÓÐ¹Ø <literal>context</literal> µÄ˵Ã÷¼û<xref linkend="ref.stream"/>¡£</simpara></note>'> <!ENTITY note.exec-bg '<note><para>Èç¹ûÓñ¾º¯ÊýÆô¶¯Ò»¸ö³ÌÐò²¢Ï£Íû±£³ÖÔÚºǫ́ÔËÐУ¬±ØÐëÈ·±£¸Ã³ÌÐòµÄÊä³ö±»Öض¨Ïòµ½Ò»¸öÎļþ»òÕ߯äËüÊä³öÁ÷È¥£¬·ñÔò PHP »áÔÚ³ÌÐòÖ´ÐнáÊøÇ°¹ÒÆð¡£</para></note>'> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/copy.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-zh/reference/filesystem/functions/copy.xml diff -u phpdoc-zh/reference/filesystem/functions/copy.xml:1.8 phpdoc-zh/reference/filesystem/functions/copy.xml:1.9 --- phpdoc-zh/reference/filesystem/functions/copy.xml:1.8 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/copy.xml Tue Sep 13 11:33:32 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> <refentry id="function.copy"> @@ -56,7 +56,7 @@ </note> <para> ²Î¼û <function>move_uploaded_file</function>£¬<function>rename</function> - ºÍÊÖ²áÖйØÓÚ<link linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»½Ú¡£ + ºÍÊÖ²áÖеÄ<link linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»Õ¡£ </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/dirname.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/dirname.xml diff -u phpdoc-zh/reference/filesystem/functions/dirname.xml:1.5 phpdoc-zh/reference/filesystem/functions/dirname.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/dirname.xml:1.5 Tue Aug 16 10:02:02 2005 +++ phpdoc-zh/reference/filesystem/functions/dirname.xml Tue Sep 13 11:33:32 2005 @@ -1,75 +1,74 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> - <refentry id="function.dirname"> - <refnamediv> - <refname>dirname</refname> - <refpurpose>·µ»ØÂ·¾¶ÖеÄĿ¼²¿·Ö</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>dirname</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - ¸ø³öÒ»¸ö°üº¬ÓÐÖ¸ÏòÒ»¸öÎļþµÄȫ·¾¶µÄ×Ö·û´®£¬±¾º¯Êý·µ»ØÈ¥µôÎļþÃûºóµÄĿ¼Ãû¡£ - </para> - <para> - ÔÚ Windows ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷Ŀ¼·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ - </para> - <para> - <example> - <title><function>dirname</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.dirname"> + <refnamediv> + <refname>dirname</refname> + <refpurpose>·µ»ØÂ·¾¶ÖеÄĿ¼²¿·Ö</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>dirname</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + ¸ø³öÒ»¸ö°üº¬ÓÐÖ¸ÏòÒ»¸öÎļþµÄȫ·¾¶µÄ×Ö·û´®£¬±¾º¯Êý·µ»ØÈ¥µôÎļþÃûºóµÄĿ¼Ãû¡£ + </para> + <para> + ÔÚ Windows ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷Ŀ¼·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ + </para> + <para> + <example> + <title><function>dirname</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $path = "/etc/passwd"; $file = dirname($path); // $file is set to "/etc" ?> ]]> - </programlisting> - </example> - </para> - <note> - <para> - ÔÚ PHP 4.0.3 ÖУ¬<function>dirname</function> ±»ÐÞÕýΪ - POSIX ¼æÈÝ¡£±¾ÖÊÉϾÍÒâζ×ÅÈç¹ûÔÚ <parameter>path</parameter> - ÖÐûÓÐбÏߣ¬Ôò·µ»ØÒ»¸öµã£¨'<literal>.</literal>'£©£¬±íʾµ±Ç°Ä¿Â¼¡£·ñÔò·µ»ØµÄÊÇ°Ñ - <parameter>path</parameter> ÖнáβµÄ - <literal>/component</literal>£¨×îºóÒ»¸öбÏßÒÔ¼°ºóÃæ²¿·Ö£©È¥µôÖ®ºóµÄ×Ö·û´®¡£×¢ÒâÕâÒâζ×ÅÔÚÀϵĺ¯Êý·µ»ØÒ»¸ö¿Õ×Ö·û´®µÄÇéÐÎÏÂÄãͨ³£´Ó - <function>dirname</function> µÃµ½µÄÊÇбÏß»òÕßÒ»¸öµã¡£ - </para> - </note> - <para> - <function>dirname</function> ´Ó PHP 4.3.0 ¿ªÊ¼ÓÐËù¸Ä±ä - Çë¿´ÒÔÏÂÀý×Ó£º - <informalexample> - <programlisting role="php"> + </programlisting> + </example> + </para> + <note> + <para> + ÔÚ PHP 4.0.3 ÖУ¬<function>dirname</function> ±»ÐÞÕýΪ + POSIX ¼æÈÝ¡£±¾ÖÊÉϾÍÒâζ×ÅÈç¹ûÔÚ <parameter>path</parameter> + ÖÐûÓÐбÏߣ¬Ôò·µ»ØÒ»¸öµã£¨'<literal>.</literal>'£©£¬±íʾµ±Ç°Ä¿Â¼¡£·ñÔò·µ»ØµÄÊÇ°Ñ + <parameter>path</parameter> ÖнáβµÄ + <literal>/component</literal>£¨×îºóÒ»¸öбÏßÒÔ¼°ºóÃæ²¿·Ö£©È¥µôÖ®ºóµÄ×Ö·û´®¡£×¢ÒâÕâÒâζ×ÅÔÚÀϵĺ¯Êý·µ»ØÒ»¸ö¿Õ×Ö·û´®µÄÇéÐÎÏÂͨ³£´Ó + <function>dirname</function> µÃµ½µÄÊÇбÏß»òÕßÒ»¸öµã¡£ + </para> + </note> + <para> + <function>dirname</function> ´Ó PHP 4.3.0 ¿ªÊ¼ÓÐËù¸Ä±ä¡£Çë¿´ÒÔÏÂÀý×Ó£º + <informalexample> + <programlisting role="php"> <![CDATA[ <?php - + // PHP 4.3.0 ÒÔǰ dirname('c:/'); // ·µ»Ø '.' - + // PHP 4.3.0 ÒÔºó dirname('c:/'); // ·µ»Ø 'c:' - + ?> ]]> - </programlisting> - </informalexample> - </para> - <para> - <function>dirname</function> µÄ²Ù×÷´Ó PHP 5.0.0 °æ¿ªÊ¼ÊǶþ½øÖư²È«µÄ¡£ - </para> - <para> - ²Î¼û <function>basename</function>£¬<function>pathinfo</function> - ºÍ <function>realpath</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </informalexample> + </para> + <para> + <function>dirname</function> µÄ²Ù×÷´Ó PHP 5.0.0 °æ¿ªÊ¼ÊǶþ½øÖư²È«µÄ¡£ + </para> + <para> + ²Î¼û <function>basename</function>£¬<function>pathinfo</function> + ºÍ <function>realpath</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/diskfreespace.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/diskfreespace.xml diff -u phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.5 phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.5 Sun Sep 4 02:03:19 2005 +++ phpdoc-zh/reference/filesystem/functions/diskfreespace.xml Tue Sep 13 11:33:32 2005 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.diskfreespace"> <refnamediv> <refname>diskfreespace</refname> - <refpurpose><function>disk_free_space</function>µÄ&Alias;</refpurpose> + <refpurpose><function>disk_free_space</function> µÄ&Alias;</refpurpose> </refnamediv> <refsect1 role="description"> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/file-put-contents.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/file-put-contents.xml diff -u phpdoc-zh/reference/filesystem/functions/file-put-contents.xml:1.6 phpdoc-zh/reference/filesystem/functions/file-put-contents.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/file-put-contents.xml:1.6 Tue Aug 16 09:34:49 2005 +++ phpdoc-zh/reference/filesystem/functions/file-put-contents.xml Tue Sep 13 11:33:32 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.file-put-contents"> @@ -21,7 +21,7 @@ ÒÔ¼° <function>fclose</function> ¹¦ÄÜÒ»Ñù¡£ </simpara> <para> - ²ÎÊý <parameter>data</parameter> ¿ÉÒÔÊÇÊý×飨µ«²»ÄÜΪ¶àÔªÊý×飩£¬Õâ¾ÍÏ൱ÓÚ + ²ÎÊý <parameter>data</parameter> ¿ÉÒÔÊÇÊý×飨µ«²»ÄÜΪ¶àάÊý×飩£¬Õâ¾ÍÏ൱ÓÚ <literal>file_put_contents($filename, join('', $array))</literal> </para> <para> @@ -33,14 +33,14 @@ </refsect1> <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> + &reftitle.parameters; + <para> + <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> - Òª±»Ð´ÈëÊý¾ÝµÄÎļþÃû + Òª±»Ð´ÈëÊý¾ÝµÄÎļþÃû¡£ </para> </listitem> </varlistentry> @@ -48,8 +48,8 @@ <term><parameter>data</parameter></term> <listitem> <para> - ҪдÈëµÄÊý¾Ý¡£ÀàÐÍ¿ÉÒÔÊÇ <type>string</type>¡¢ - <type>array</type> »òÕßÊÇ <type>stream</type> ×ÊÔ´£¨ÈçÉÏÃæËù˵µÄÄÇÑù£©. + ҪдÈëµÄÊý¾Ý¡£ÀàÐÍ¿ÉÒÔÊÇ <type>string</type>£¬<type>array</type> + »òÕßÊÇ <type>stream</type> ×ÊÔ´£¨ÈçÉÏÃæËù˵µÄÄÇÑù£©¡£ </para> </listitem> </varlistentry> @@ -58,9 +58,8 @@ <listitem> <para> <parameter>flags</parameter> ¿ÉÒÔÊÇ - <constant>FILE_USE_INCLUDE_PATH</constant>, - <constant>FILE_APPEND</constant> ºÍ/»ò <constant>LOCK_EX</constant> - £¨»ñµÃÒ»¸ö¶ÀÕ¼Ëø¶¨£©£¬È»¶øÊ¹Óà + <constant>FILE_USE_INCLUDE_PATH</constant>£¬<constant>FILE_APPEND</constant> + ºÍ£¯»ò <constant>LOCK_EX</constant>£¨»ñµÃÒ»¸ö¶ÀÕ¼Ëø¶¨£©£¬È»¶øÊ¹Óà <constant>FILE_USE_INCLUDE_PATH</constant> Ê±ÒªÌØ±ð½÷É÷¡£ </para> </listitem> @@ -69,7 +68,7 @@ <term><parameter>context</parameter></term> <listitem> <para> - Ò»¸ö context ×ÊÔ´ + Ò»¸ö context ×ÊÔ´¡£ </para> </listitem> </varlistentry> @@ -80,7 +79,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ¸Ãº¯Êý½«·µ»ØÐ´Èëµ½ÎļþÄÚÊý¾ÝµÄ×Ö½ÚÊý + ¸Ãº¯Êý½«·µ»ØÐ´Èëµ½ÎļþÄÚÊý¾ÝµÄ×Ö½ÚÊý¡£ </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fileatime.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/fileatime.xml diff -u phpdoc-zh/reference/filesystem/functions/fileatime.xml:1.6 phpdoc-zh/reference/filesystem/functions/fileatime.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/fileatime.xml:1.6 Tue Aug 16 00:44:04 2005 +++ phpdoc-zh/reference/filesystem/functions/fileatime.xml Tue Sep 13 11:33:32 2005 @@ -1,33 +1,33 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.fileatime"> - <refnamediv> - <refname>fileatime</refname> - <refpurpose>È¡µÃÎļþµÄÉϴηÃÎÊʱ¼ä</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>fileatime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <simpara> - ·µ»ØÎļþÉϴα»·ÃÎʵÄʱ¼ä£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø¡£ - </simpara> - <simpara> - ×¢Ò⣺һ¸öÎļþµÄ atime - Ó¦¸ÃÔÚ²»ÂÛºÎʱ¶ÁÈ¡ÁË´ËÎļþÖеÄÊý¾Ý¿éʱ±»¸ü¸Ä¡£µ±Ò»¸öÓ¦ÓóÌÐò¶¨ÆÚ·ÃÎÊ´óÁ¿Îļþ»òĿ¼ʱºÜÓ°ÏìÐÔÄÜ¡£ÓÐЩ - Unix Îļþϵͳ¿ÉÒÔÔÚ¼ÓÔØÊ±¹Ø±Õ atime µÄ¸üÐÂÒÔÌá¸ßÕâÀà³ÌÐòµÄÐÔÄÜ¡£USENET - ÐÂÎÅ×é¼ÙÍÑ»úÊÇÒ»¸ö³£¼ûµÄÀý×Ó¡£ÔÚÕâÖÖÎļþϵͳϱ¾º¯ÊýûÓÐÓô¦¡£ - </simpara> - ¬e.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - <example> - <title><function>fileatime</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.fileatime"> + <refnamediv> + <refname>fileatime</refname> + <refpurpose>È¡µÃÎļþµÄÉϴηÃÎÊʱ¼ä</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>fileatime</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <simpara> + ·µ»ØÎļþÉϴα»·ÃÎʵÄʱ¼ä£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø¡£ + </simpara> + <simpara> + ×¢Ò⣺һ¸öÎļþµÄ atime + Ó¦¸ÃÔÚ²»ÂÛºÎʱ¶ÁÈ¡ÁË´ËÎļþÖеÄÊý¾Ý¿éʱ±»¸ü¸Ä¡£µ±Ò»¸öÓ¦ÓóÌÐò¶¨ÆÚ·ÃÎÊ´óÁ¿Îļþ»òĿ¼ʱºÜÓ°ÏìÐÔÄÜ¡£ÓÐЩ + Unix Îļþϵͳ¿ÉÒÔÔÚ¼ÓÔØÊ±¹Ø±Õ atime µÄ¸üÐÂÒÔÌá¸ßÕâÀà³ÌÐòµÄÐÔÄÜ¡£USENET + ÐÂÎÅ×é¼ÙÍÑ»úÊÇÒ»¸ö³£¼ûµÄÀý×Ó¡£ÔÚÕâÖÖÎļþϵͳϱ¾º¯ÊýûÓÐÓô¦¡£ + </simpara> + ¬e.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + <example> + <title><function>fileatime</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -40,14 +40,15 @@ ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ²Î¼û <function>filemtime</function>£¬<function>fileinode</function> ºÍ <function>date</function>¡£ - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <simpara> + ²Î¼û <function>filemtime</function>£¬<function>fileinode</function> + ºÍ <function>date</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/diff.php/phpdoc-zh/language-snippets.ent?r1=1.64&r2=1.65&ty=u Index: phpdoc-zh/language-snippets.ent diff -u phpdoc-zh/language-snippets.ent:1.64 phpdoc-zh/language-snippets.ent:1.65 --- phpdoc-zh/language-snippets.ent:1.64 Tue Sep 13 11:11:40 2005 +++ phpdoc-zh/language-snippets.ent Tue Sep 13 11:33:30 2005 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="gb2312"?> -<!-- $Revision: 1.64 $ --> +<!-- $Revision: 1.65 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.156 Maintainer: Gregory Status: ready --> <!-- CREDITS: dallas,class007,yincheng --> @@ -13,7 +13,7 @@ <function>clearstatcache</function>¡£</simpara></note>'> <!ENTITY note.context-support '<note><simpara>¶Ô context µÄÖ§³ÖÊÇ -PHP 5.0.0 Ìí¼ÓµÄ¡£ÓÐ¹Ø <literal>context</literal> µÄ˵Ã÷Çë²Î¿¼<xref linkend="ref.stream"/>¡£</simpara></note>'> +PHP 5.0.0 Ìí¼ÓµÄ¡£ÓÐ¹Ø <literal>context</literal> µÄ˵Ã÷¼û<xref linkend="ref.stream"/>¡£</simpara></note>'> <!ENTITY note.exec-bg '<note><para>Èç¹ûÓñ¾º¯ÊýÆô¶¯Ò»¸ö³ÌÐò²¢Ï£Íû±£³ÖÔÚºǫ́ÔËÐУ¬±ØÐëÈ·±£¸Ã³ÌÐòµÄÊä³ö±»Öض¨Ïòµ½Ò»¸öÎļþ»òÕ߯äËüÊä³öÁ÷È¥£¬·ñÔò PHP »áÔÚ³ÌÐòÖ´ÐнáÊøÇ°¹ÒÆð¡£</para></note>'> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/copy.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-zh/reference/filesystem/functions/copy.xml diff -u phpdoc-zh/reference/filesystem/functions/copy.xml:1.8 phpdoc-zh/reference/filesystem/functions/copy.xml:1.9 --- phpdoc-zh/reference/filesystem/functions/copy.xml:1.8 Sun Sep 4 03:04:04 2005 +++ phpdoc-zh/reference/filesystem/functions/copy.xml Tue Sep 13 11:33:32 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.13 Maintainer: dallas Status: ready --> <refentry id="function.copy"> @@ -56,7 +56,7 @@ </note> <para> ²Î¼û <function>move_uploaded_file</function>£¬<function>rename</function> - ºÍÊÖ²áÖйØÓÚ<link linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»½Ú¡£ + ºÍÊÖ²áÖеÄ<link linkend="features.file-upload">ÎļþÉÏ´«´¦Àí</link>Ò»Õ¡£ </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/dirname.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/dirname.xml diff -u phpdoc-zh/reference/filesystem/functions/dirname.xml:1.5 phpdoc-zh/reference/filesystem/functions/dirname.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/dirname.xml:1.5 Tue Aug 16 10:02:02 2005 +++ phpdoc-zh/reference/filesystem/functions/dirname.xml Tue Sep 13 11:33:32 2005 @@ -1,75 +1,74 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.6 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> - <refentry id="function.dirname"> - <refnamediv> - <refname>dirname</refname> - <refpurpose>·µ»ØÂ·¾¶ÖеÄĿ¼²¿·Ö</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>dirname</methodname> - <methodparam><type>string</type><parameter>path</parameter></methodparam> - </methodsynopsis> - <para> - ¸ø³öÒ»¸ö°üº¬ÓÐÖ¸ÏòÒ»¸öÎļþµÄȫ·¾¶µÄ×Ö·û´®£¬±¾º¯Êý·µ»ØÈ¥µôÎļþÃûºóµÄĿ¼Ãû¡£ - </para> - <para> - ÔÚ Windows ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷Ŀ¼·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ - </para> - <para> - <example> - <title><function>dirname</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.dirname"> + <refnamediv> + <refname>dirname</refname> + <refpurpose>·µ»ØÂ·¾¶ÖеÄĿ¼²¿·Ö</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>dirname</methodname> + <methodparam><type>string</type><parameter>path</parameter></methodparam> + </methodsynopsis> + <para> + ¸ø³öÒ»¸ö°üº¬ÓÐÖ¸ÏòÒ»¸öÎļþµÄȫ·¾¶µÄ×Ö·û´®£¬±¾º¯Êý·µ»ØÈ¥µôÎļþÃûºóµÄĿ¼Ãû¡£ + </para> + <para> + ÔÚ Windows ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷Ŀ¼·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ + </para> + <para> + <example> + <title><function>dirname</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php $path = "/etc/passwd"; $file = dirname($path); // $file is set to "/etc" ?> ]]> - </programlisting> - </example> - </para> - <note> - <para> - ÔÚ PHP 4.0.3 ÖУ¬<function>dirname</function> ±»ÐÞÕýΪ - POSIX ¼æÈÝ¡£±¾ÖÊÉϾÍÒâζ×ÅÈç¹ûÔÚ <parameter>path</parameter> - ÖÐûÓÐбÏߣ¬Ôò·µ»ØÒ»¸öµã£¨'<literal>.</literal>'£©£¬±íʾµ±Ç°Ä¿Â¼¡£·ñÔò·µ»ØµÄÊÇ°Ñ - <parameter>path</parameter> ÖнáβµÄ - <literal>/component</literal>£¨×îºóÒ»¸öбÏßÒÔ¼°ºóÃæ²¿·Ö£©È¥µôÖ®ºóµÄ×Ö·û´®¡£×¢ÒâÕâÒâζ×ÅÔÚÀϵĺ¯Êý·µ»ØÒ»¸ö¿Õ×Ö·û´®µÄÇéÐÎÏÂÄãͨ³£´Ó - <function>dirname</function> µÃµ½µÄÊÇбÏß»òÕßÒ»¸öµã¡£ - </para> - </note> - <para> - <function>dirname</function> ´Ó PHP 4.3.0 ¿ªÊ¼ÓÐËù¸Ä±ä - Çë¿´ÒÔÏÂÀý×Ó£º - <informalexample> - <programlisting role="php"> + </programlisting> + </example> + </para> + <note> + <para> + ÔÚ PHP 4.0.3 ÖУ¬<function>dirname</function> ±»ÐÞÕýΪ + POSIX ¼æÈÝ¡£±¾ÖÊÉϾÍÒâζ×ÅÈç¹ûÔÚ <parameter>path</parameter> + ÖÐûÓÐбÏߣ¬Ôò·µ»ØÒ»¸öµã£¨'<literal>.</literal>'£©£¬±íʾµ±Ç°Ä¿Â¼¡£·ñÔò·µ»ØµÄÊÇ°Ñ + <parameter>path</parameter> ÖнáβµÄ + <literal>/component</literal>£¨×îºóÒ»¸öбÏßÒÔ¼°ºóÃæ²¿·Ö£©È¥µôÖ®ºóµÄ×Ö·û´®¡£×¢ÒâÕâÒâζ×ÅÔÚÀϵĺ¯Êý·µ»ØÒ»¸ö¿Õ×Ö·û´®µÄÇéÐÎÏÂͨ³£´Ó + <function>dirname</function> µÃµ½µÄÊÇбÏß»òÕßÒ»¸öµã¡£ + </para> + </note> + <para> + <function>dirname</function> ´Ó PHP 4.3.0 ¿ªÊ¼ÓÐËù¸Ä±ä¡£Çë¿´ÒÔÏÂÀý×Ó£º + <informalexample> + <programlisting role="php"> <![CDATA[ <?php - + // PHP 4.3.0 ÒÔǰ dirname('c:/'); // ·µ»Ø '.' - + // PHP 4.3.0 ÒÔºó dirname('c:/'); // ·µ»Ø 'c:' - + ?> ]]> - </programlisting> - </informalexample> - </para> - <para> - <function>dirname</function> µÄ²Ù×÷´Ó PHP 5.0.0 °æ¿ªÊ¼ÊǶþ½øÖư²È«µÄ¡£ - </para> - <para> - ²Î¼û <function>basename</function>£¬<function>pathinfo</function> - ºÍ <function>realpath</function>¡£ - </para> - </refsect1> - </refentry> + </programlisting> + </informalexample> + </para> + <para> + <function>dirname</function> µÄ²Ù×÷´Ó PHP 5.0.0 °æ¿ªÊ¼ÊǶþ½øÖư²È«µÄ¡£ + </para> + <para> + ²Î¼û <function>basename</function>£¬<function>pathinfo</function> + ºÍ <function>realpath</function>¡£ + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/diskfreespace.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-zh/reference/filesystem/functions/diskfreespace.xml diff -u phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.5 phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.6 --- phpdoc-zh/reference/filesystem/functions/diskfreespace.xml:1.5 Sun Sep 4 02:03:19 2005 +++ phpdoc-zh/reference/filesystem/functions/diskfreespace.xml Tue Sep 13 11:33:32 2005 @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <refentry id="function.diskfreespace"> <refnamediv> <refname>diskfreespace</refname> - <refpurpose><function>disk_free_space</function>µÄ&Alias;</refpurpose> + <refpurpose><function>disk_free_space</function> µÄ&Alias;</refpurpose> </refnamediv> <refsect1 role="description"> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/file-put-contents.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/file-put-contents.xml diff -u phpdoc-zh/reference/filesystem/functions/file-put-contents.xml:1.6 phpdoc-zh/reference/filesystem/functions/file-put-contents.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/file-put-contents.xml:1.6 Tue Aug 16 09:34:49 2005 +++ phpdoc-zh/reference/filesystem/functions/file-put-contents.xml Tue Sep 13 11:33:32 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> <refentry id="function.file-put-contents"> @@ -21,7 +21,7 @@ ÒÔ¼° <function>fclose</function> ¹¦ÄÜÒ»Ñù¡£ </simpara> <para> - ²ÎÊý <parameter>data</parameter> ¿ÉÒÔÊÇÊý×飨µ«²»ÄÜΪ¶àÔªÊý×飩£¬Õâ¾ÍÏ൱ÓÚ + ²ÎÊý <parameter>data</parameter> ¿ÉÒÔÊÇÊý×飨µ«²»ÄÜΪ¶àάÊý×飩£¬Õâ¾ÍÏ൱ÓÚ <literal>file_put_contents($filename, join('', $array))</literal> </para> <para> @@ -33,14 +33,14 @@ </refsect1> <refsect1 role="parameters"> - &reftitle.parameters; - <para> - <variablelist> + &reftitle.parameters; + <para> + <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> - Òª±»Ð´ÈëÊý¾ÝµÄÎļþÃû + Òª±»Ð´ÈëÊý¾ÝµÄÎļþÃû¡£ </para> </listitem> </varlistentry> @@ -48,8 +48,8 @@ <term><parameter>data</parameter></term> <listitem> <para> - ҪдÈëµÄÊý¾Ý¡£ÀàÐÍ¿ÉÒÔÊÇ <type>string</type>¡¢ - <type>array</type> »òÕßÊÇ <type>stream</type> ×ÊÔ´£¨ÈçÉÏÃæËù˵µÄÄÇÑù£©. + ҪдÈëµÄÊý¾Ý¡£ÀàÐÍ¿ÉÒÔÊÇ <type>string</type>£¬<type>array</type> + »òÕßÊÇ <type>stream</type> ×ÊÔ´£¨ÈçÉÏÃæËù˵µÄÄÇÑù£©¡£ </para> </listitem> </varlistentry> @@ -58,9 +58,8 @@ <listitem> <para> <parameter>flags</parameter> ¿ÉÒÔÊÇ - <constant>FILE_USE_INCLUDE_PATH</constant>, - <constant>FILE_APPEND</constant> ºÍ/»ò <constant>LOCK_EX</constant> - £¨»ñµÃÒ»¸ö¶ÀÕ¼Ëø¶¨£©£¬È»¶øÊ¹Óà + <constant>FILE_USE_INCLUDE_PATH</constant>£¬<constant>FILE_APPEND</constant> + ºÍ£¯»ò <constant>LOCK_EX</constant>£¨»ñµÃÒ»¸ö¶ÀÕ¼Ëø¶¨£©£¬È»¶øÊ¹Óà <constant>FILE_USE_INCLUDE_PATH</constant> Ê±ÒªÌØ±ð½÷É÷¡£ </para> </listitem> @@ -69,7 +68,7 @@ <term><parameter>context</parameter></term> <listitem> <para> - Ò»¸ö context ×ÊÔ´ + Ò»¸ö context ×ÊÔ´¡£ </para> </listitem> </varlistentry> @@ -80,7 +79,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ¸Ãº¯Êý½«·µ»ØÐ´Èëµ½ÎļþÄÚÊý¾ÝµÄ×Ö½ÚÊý + ¸Ãº¯Êý½«·µ»ØÐ´Èëµ½ÎļþÄÚÊý¾ÝµÄ×Ö½ÚÊý¡£ </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fileatime.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-zh/reference/filesystem/functions/fileatime.xml diff -u phpdoc-zh/reference/filesystem/functions/fileatime.xml:1.6 phpdoc-zh/reference/filesystem/functions/fileatime.xml:1.7 --- phpdoc-zh/reference/filesystem/functions/fileatime.xml:1.6 Tue Aug 16 00:44:04 2005 +++ phpdoc-zh/reference/filesystem/functions/fileatime.xml Tue Sep 13 11:33:32 2005 @@ -1,33 +1,33 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.6 $ --> -<!-- $Author: lm92 $ --> +<!-- $Revision: 1.7 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> - <refentry id="function.fileatime"> - <refnamediv> - <refname>fileatime</refname> - <refpurpose>È¡µÃÎļþµÄÉϴηÃÎÊʱ¼ä</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>int</type><methodname>fileatime</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <simpara> - ·µ»ØÎļþÉϴα»·ÃÎʵÄʱ¼ä£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø¡£ - </simpara> - <simpara> - ×¢Ò⣺һ¸öÎļþµÄ atime - Ó¦¸ÃÔÚ²»ÂÛºÎʱ¶ÁÈ¡ÁË´ËÎļþÖеÄÊý¾Ý¿éʱ±»¸ü¸Ä¡£µ±Ò»¸öÓ¦ÓóÌÐò¶¨ÆÚ·ÃÎÊ´óÁ¿Îļþ»òĿ¼ʱºÜÓ°ÏìÐÔÄÜ¡£ÓÐЩ - Unix Îļþϵͳ¿ÉÒÔÔÚ¼ÓÔØÊ±¹Ø±Õ atime µÄ¸üÐÂÒÔÌá¸ßÕâÀà³ÌÐòµÄÐÔÄÜ¡£USENET - ÐÂÎÅ×é¼ÙÍÑ»úÊÇÒ»¸ö³£¼ûµÄÀý×Ó¡£ÔÚÕâÖÖÎļþϵͳϱ¾º¯ÊýûÓÐÓô¦¡£ - </simpara> - ¬e.clearstatcache; - &tip.fopen-wrapper.stat; - <para> - <example> - <title><function>fileatime</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.fileatime"> + <refnamediv> + <refname>fileatime</refname> + <refpurpose>È¡µÃÎļþµÄÉϴηÃÎÊʱ¼ä</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>int</type><methodname>fileatime</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <simpara> + ·µ»ØÎļþÉϴα»·ÃÎʵÄʱ¼ä£¬Èç¹û³ö´íÔò·µ»Ø &false;¡£Ê±¼äÒÔ Unix ʱ¼ä´ÁµÄ·½Ê½·µ»Ø¡£ + </simpara> + <simpara> + ×¢Ò⣺һ¸öÎļþµÄ atime + Ó¦¸ÃÔÚ²»ÂÛºÎʱ¶ÁÈ¡ÁË´ËÎļþÖеÄÊý¾Ý¿éʱ±»¸ü¸Ä¡£µ±Ò»¸öÓ¦ÓóÌÐò¶¨ÆÚ·ÃÎÊ´óÁ¿Îļþ»òĿ¼ʱºÜÓ°ÏìÐÔÄÜ¡£ÓÐЩ + Unix Îļþϵͳ¿ÉÒÔÔÚ¼ÓÔØÊ±¹Ø±Õ atime µÄ¸üÐÂÒÔÌá¸ßÕâÀà³ÌÐòµÄÐÔÄÜ¡£USENET + ÐÂÎÅ×é¼ÙÍÑ»úÊÇÒ»¸ö³£¼ûµÄÀý×Ó¡£ÔÚÕâÖÖÎļþϵͳϱ¾º¯ÊýûÓÐÓô¦¡£ + </simpara> + ¬e.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + <example> + <title><function>fileatime</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php @@ -40,14 +40,15 @@ ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ²Î¼û <function>filemtime</function>£¬<function>fileinode</function> ºÍ <function>date</function>¡£ - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <simpara> + ²Î¼û <function>filemtime</function>£¬<function>fileinode</function> + ºÍ <function>date</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: