From 45b1f93b7a4d1cb50cbd67e6a62def0560989980 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Tue, 20 Sep 2005 12:06:16 +0000 Subject: [PATCH] + document feof() pitfall if invalid handle passed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@196438 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/feof.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/reference/filesystem/functions/feof.xml b/reference/filesystem/functions/feof.xml index 1c81fad206..21e047113c 100644 --- a/reference/filesystem/functions/feof.xml +++ b/reference/filesystem/functions/feof.xml @@ -1,5 +1,5 @@ - + @@ -26,6 +26,26 @@ &fs.validfp.all; + + If passed file pointer is not valid you may get an infinite loop, because + EOF fails to return TRUE. + + + +?]]> + + +