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

From: Date: Mon, 01 Aug 2005 15:27:28 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions touch.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2083@lists.php.net to get a copy of this message
yincheng Mon Aug 1 11:27:28 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions touch.xml Log: update to en version http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/touch.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/touch.xml diff -u phpdoc-zh/reference/filesystem/functions/touch.xml:1.4 phpdoc-zh/reference/filesystem/functions/touch.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/touch.xml:1.4 Mon Aug 18 19:23:46 2003 +++ phpdoc-zh/reference/filesystem/functions/touch.xml Mon Aug 1 11:27:27 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> -<!-- EN-Revision: 1.7 Maintainer: dallas Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: yincheng $ --> +<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready --> <refentry id="function.touch"> <refnamediv> <refname>touch</refname> @@ -32,11 +32,10 @@ <programlisting role="php"> <![CDATA[ <?php -if (touch ($FileName)) { - print "$FileName modification time has been - changed to todays date and time"; +if (touch($FileName)) { + echo "$FileName modification time has been changed to present time"; } else { - print "Sorry Could Not change modification time of $FileName"; + echo "Sorry, could not change modification time of $FileName"; } ?> ]]>

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