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

From: Date: Mon, 08 Aug 2005 16:40:01 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions basename.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2115@lists.php.net to get a copy of this message
yincheng Mon Aug 8 12:40:01 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions basename.xml Log: up to en http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/basename.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-zh/reference/filesystem/functions/basename.xml diff -u phpdoc-zh/reference/filesystem/functions/basename.xml:1.3 phpdoc-zh/reference/filesystem/functions/basename.xml:1.4 --- phpdoc-zh/reference/filesystem/functions/basename.xml:1.3 Mon Aug 18 16:51:02 2003 +++ phpdoc-zh/reference/filesystem/functions/basename.xml Mon Aug 8 12:40:01 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.3 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.3 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready --> <refentry id="function.basename"> <refnamediv> <refname>basename</refname> @@ -19,7 +19,8 @@ <parameter>suffix</parameter> ½áÊøµÄ£¬ÄÇÕâÒ»²¿·ÖÒ²»á±»È¥µô¡£ </para> <para> - ÔÚ Windows ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷·¾¶·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ + ÔÚ Windows + ÖУ¬Ð±Ïߣ¨<literal>/</literal>£©ºÍ·´Ð±Ïߣ¨<literal>\</literal>£©¶¼¿ÉÒÔÓÃ×÷Ŀ¼·Ö¸ô·û¡£ÔÚÆäËü»·¾³ÏÂÊÇбÏߣ¨<literal>/</literal>£©¡£ </para> <para> <example> @@ -28,8 +29,8 @@ <![CDATA[ <?php $path = "/home/httpd/html/index.php"; -$file = basename ($path); // $file is set to "index.php" -$file = basename ($path,".php"); // $file is set to "index" +$file = basename($path); // $file is set to "index.php" +$file = basename($path,".php"); // $file is set to "index" ?> ]]> </programlisting>

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