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

From: Date: Wed, 26 Apr 2006 10:21:26 +0000
Subject: cvs: phpdoc-zh /reference/filesystem/functions fgets.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-2822@lists.php.net to get a copy of this message
vrana Wed Apr 26 10:21:26 2006 UTC Modified files: /phpdoc-zh/reference/filesystem/functions fgets.xml Log: Wrong variable in example (bug #37207) http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/filesystem/functions/fgets.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-zh/reference/filesystem/functions/fgets.xml diff -u phpdoc-zh/reference/filesystem/functions/fgets.xml:1.8 phpdoc-zh/reference/filesystem/functions/fgets.xml:1.9 --- phpdoc-zh/reference/filesystem/functions/fgets.xml:1.8 Mon Sep 19 16:22:46 2005 +++ phpdoc-zh/reference/filesystem/functions/fgets.xml Wed Apr 26 10:21:26 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="gb2312"?> -<!-- $Revision: 1.8 $ --> -<!-- $Author: dallas $ --> +<!-- $Revision: 1.9 $ --> +<!-- $Author: vrana $ --> <!-- EN-Revision: 1.15 Maintainer: dallas Status: ready --> <refentry id="function.fgets"> <refnamediv> @@ -42,7 +42,7 @@ $handle = @fopen("/tmp/inputfile.txt", "r"); if ($handle) { while (!feof($handle)) { - $buffer = fgets($fd, 4096); + $buffer = fgets($handle, 4096); echo $buffer; } fclose($handle);

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