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

From: Date: Tue, 16 Aug 2005 03:13:04 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions fscanf.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2298@lists.php.net to get a copy of this message
lm92 Mon Aug 15 23:13:04 2005 EDT Modified files: /phpdoc-zh/reference/filesystem/functions fscanf.xml Log: updated to en version http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fscanf.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-zh/reference/filesystem/functions/fscanf.xml diff -u phpdoc-zh/reference/filesystem/functions/fscanf.xml:1.4 phpdoc-zh/reference/filesystem/functions/fscanf.xml:1.5 --- phpdoc-zh/reference/filesystem/functions/fscanf.xml:1.4 Sun Sep 21 14:47:27 2003 +++ phpdoc-zh/reference/filesystem/functions/fscanf.xml Mon Aug 15 23:13:04 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.4 $ --> -<!-- $Author: dallas $ --> +<!-- $Revision: 1.5 $ --> +<!-- $Author: lm92 $ --> <!-- EN-Revision: 1.10 Maintainer: dallas Status: ready --> <refentry id="function.fscanf"> <refnamediv> @@ -13,7 +13,7 @@ <type>mixed</type><methodname>fscanf</methodname> <methodparam><type>resource</type><parameter>handle</parameter></methodparam> <methodparam><type>string</type><parameter>format</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>var1</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter role="reference">...</parameter></methodparam> </methodsynopsis> <para> <function>fscanf</function> º¯ÊýºÍ @@ -32,8 +32,8 @@ <programlisting role="php"> <![CDATA[ <?php -$handle = fopen ("users.txt","r"); -while ($userinfo = fscanf ($handle, "%s\t%s\t%s\n")) { +$handle = fopen("users.txt","r"); +while ($userinfo = fscanf($handle, "%s\t%s\t%s\n")) { list ($name, $profession, $countrycode) = $userinfo; //... do something with the values } @@ -43,15 +43,15 @@ </programlisting> </example> <example> - <title>users.txt</title> - <screen> + <title>users.txt µÄÄÚÈÝ</title> + <programlisting role="txt"> <![CDATA[ javier argonaut pe hiroshi sculptor jp robert slacker us luigi florist it ]]> - </screen> + </programlisting> </example> </para> <note>

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