Date: 08/27/01
- Next message: Martin Jansen: "Re: [PHP-DEV] API Thoughts?"
- Previous message: Jani Taskinen: "[PHP-DEV] Search borked?"
- Next in thread: mfischer <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: mfischer <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: chagenbu <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: mfischer <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: jeroen <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file & co: no warning on non-existing file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Martin Jansen: "Re: [PHP-DEV] API Thoughts?"
- Previous message: Jani Taskinen: "[PHP-DEV] Search borked?"
- Next in thread: mfischer <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: mfischer <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: chagenbu <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: mfischer <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file() sends errors to error log"
- Reply: jeroen <email protected>: "[PHP-DEV] Bug #12972 Updated: is_file & co: no warning on non-existing file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

