[PHP-DEV] Bug #12972: is_file() sends errors to error log From: advgraph <email protected>
Date: 08/27/01

From: advgraph <email protected>
Operating system: Redhat 6.2
PHP version: 4.0.5
PHP Bug Type: Filesystem function related
Bug description: is_file() sends errors to error log

when using the is_file function and a file is not found an error is sent
back to the error log. I expect this simply to return false in this case.
I am aware of file_exists, however in the manual:

 Returns true if the filename exists and is a regular file.

Therefore I expect this to also be testing for file existence. I do not
expect debugging output leading me to have to use  <email protected> and possibly
miss other crucial error output.

-- 
Edit bug report at: http://bugs.php.net/?id=12972&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>