From 5b2e45153fae07a02bb85f4af54fd259a6263c5b Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 24 Oct 2002 18:58:01 +0000 Subject: [PATCH] Upon failure, file() returns false. (fixes: bug #20047) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@101154 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/file.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reference/filesystem/functions/file.xml b/reference/filesystem/functions/file.xml index c179aeefb7..57d96133e2 100644 --- a/reference/filesystem/functions/file.xml +++ b/reference/filesystem/functions/file.xml @@ -1,5 +1,5 @@ - + @@ -17,7 +17,8 @@ Identical to readfile, except that file returns the file in an array. Each element of the array corresponds to a line in the file, with the - newline still attached. + newline still attached. Upon failure, file + returns &false;. @@ -28,8 +29,8 @@ ¬e.line-endings; - You can use the optional second parameter and set it to "1", if - you want to search for the file in the use_include_path parameter + and set it to "1", if you want to search for the file in the include_path, too.