cvs: phpdoc-zh /reference/filesystem/functions filetype.xml

From: Date: Mon, 19 Sep 2005 16:32:51 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions filetype.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2668@lists.php.net to get a copy of this message
dallas Mon Sep 19 12:32:51 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions filetype.xml Log: WS fix. http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/filetype.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-zh/reference/filesystem/functions/filetype.xml diff -u phpdoc-zh/reference/filesystem/functions/filetype.xml:1.7 phpdoc-zh/reference/filesystem/functions/filetype.xml:1.8 --- phpdoc-zh/reference/filesystem/functions/filetype.xml:1.7 Mon Aug 1 11:30:02 2005 +++ phpdoc-zh/reference/filesystem/functions/filetype.xml Mon Sep 19 12:32:51 2005 @@ -1,51 +1,48 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.7 $ --> -<!-- $Author: yincheng $ --> +<!-- $Revision: 1.8 $ --> +<!-- $Author: dallas $ --> <!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> - <refentry id="function.filetype"> - <refnamediv> - <refname>filetype</refname> - <refpurpose>È¡µÃÎļþÀàÐÍ</refpurpose> - </refnamediv> - <refsect1> - <title>˵Ã÷</title> - <methodsynopsis> - <type>string</type><methodname>filetype</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - ·µ»ØÎļþµÄÀàÐÍ¡£¿ÉÄܵÄÖµÓÐ - fifo£¬char£¬dir£¬block£¬link£¬file ºÍ unknown¡£ - </para> - <para> - Èç¹û³ö´íÔò·µ»Ø &false;¡£Èç¹û stat µ÷ÓÃʧ°Ü»òÕßÎļþÀàÐÍδ֪µÄ»° - <function>filetype</function> »¹»á²úÉúÒ»¸ö <constant>E_NOTICE</constant> ÏûÏ¢¡£ - </para> - &note.clearstatcache; - &tip.fopen-wrapper.stat; - - <para> - <example> - <title><function>filetype</function> Àý×Ó</title> - <programlisting role="php"> +<refentry id="function.filetype"> + <refnamediv> + <refname>filetype</refname> + <refpurpose>È¡µÃÎļþÀàÐÍ</refpurpose> + </refnamediv> + <refsect1> + <title>˵Ã÷</title> + <methodsynopsis> + <type>string</type><methodname>filetype</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + ·µ»ØÎļþµÄÀàÐÍ¡£¿ÉÄܵÄÖµÓÐ + fifo£¬char£¬dir£¬block£¬link£¬file ºÍ unknown¡£ + </para> + <para> + Èç¹û³ö´íÔò·µ»Ø &false;¡£Èç¹û stat µ÷ÓÃʧ°Ü»òÕßÎļþÀàÐÍδ֪µÄ»° + <function>filetype</function> »¹»á²úÉúÒ»¸ö <constant>E_NOTICE</constant> ÏûÏ¢¡£ + </para> + &note.clearstatcache; + &tip.fopen-wrapper.stat; + <para> + <example> + <title><function>filetype</function> Àý×Ó</title> + <programlisting role="php"> <![CDATA[ <?php - echo filetype('/etc/passwd'); // file echo filetype('/etc/'); // dir - ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ²Î¼û - <function>is_dir</function>£¬<function>is_file</function>£¬<function>is_link</function>£¬<function>file_exists</function>£¬<function>stat</function> - ºÍ <function>mime_content_type</function>¡£ - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + <simpara> + ²Î¼û + <function>is_dir</function>£¬<function>is_file</function>£¬<function>is_link</function>£¬<function>file_exists</function>£¬<function>stat</function> + ºÍ <function>mime_content_type</function>¡£ + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.zh (#2668) next »