nlopess Mon Sep 6 15:48:29 2004 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions feof.xml
Log:
fix #29942: misleading timeout description
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/feof.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/filesystem/functions/feof.xml
diff -u phpdoc/en/reference/filesystem/functions/feof.xml:1.8
phpdoc/en/reference/filesystem/functions/feof.xml:1.9
--- phpdoc/en/reference/filesystem/functions/feof.xml:1.8 Mon May 17 15:42:15
2004
+++ phpdoc/en/reference/filesystem/functions/feof.xml Mon Sep 6 15:48:29 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.feof">
<refnamediv>
@@ -18,11 +18,11 @@
</para>
<warning>
<simpara>
- <function>feof</function> will return &true; only if the connection opened by
- <function>fsockopen</function> is closed. This can cause a script to
- timeout. The workaround for this is to use
- <function>stream_set_timeout</function>, so that
- <function>feof</function> will return &false; on timeout.
+ If a connection opened by <function>fsockopen</function> wasn't closed
+ by the server, <function>feof</function> will wait until a timeout has
+ been reached to return &true;. The default timeout value is 60 seconds.
+ You may use <function>stream_set_timeout</function> to change this
+ value.
</simpara>
</warning>
&fs.validfp.all;