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

From: Date: Tue, 16 Aug 2005 04:23:35 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions fnmatch.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2305@lists.php.net to get a copy of this message
lm92 Tue Aug 16 00:23:35 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions fnmatch.xml Log: updated to en version http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fnmatch.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/fnmatch.xml diff -u phpdoc-zh/reference/filesystem/functions/fnmatch.xml:1.3 phpdoc-zh/reference/filesystem/functions/fnmatch.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/fnmatch.xml:1.3 Mon Aug 18 19:23:46 2003 +++ phpdoc-zh/reference/filesystem/functions/fnmatch.xml Tue Aug 16 00:23:34 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: lm92 $ --> +<!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> <refentry id="function.fnmatch"> <refnamediv> <refname>fnmatch</refname> @@ -10,7 +10,7 @@ <refsect1> <title>˵Ã÷</title> <methodsynopsis> - <type>array</type><methodname>fnmatch</methodname> + <type>bool</type><methodname>fnmatch</methodname> <methodparam><type>string</type><parameter>pattern</parameter></methodparam> <methodparam><type>string</type><parameter>string</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> @@ -39,13 +39,18 @@ <programlisting role="php"> <![CDATA[ <?php -if(fnmatch("*gr[ae]y", $color)) { +if (fnmatch("*gr[ae]y", $color)) { echo "some form of gray ..."; } ?> ]]> </programlisting> </example> + <warning> + <para> + Ŀǰ¸Ãº¯ÊýÎÞ°æÔÚ Windows »òÆäËü·Ç POSIX ¼æÈݵÄϵͳÉÏ + </para> + </warning> <para> ²Î¼û <function>glob</function>£¬<function>ereg</function>£¬<function>preg_match</function>

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