ID: 21410 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Filesystem function related +Bug Type: Documentation problem Operating System: Red Hat Linux 7.3 PHP Version: 4.3.0 New Comment:
Changing this bug to a documentation problem. The warning are now expected for 2 cases: when stat or lstat have failed and when the file type is unknown. I'm working on fixing the documentation. Previous Comments: ------------------------------------------------------------------------ [2003-01-04 13:29:51] [EMAIL PROTECTED] In the filetype() doc, it says the function returns FALSE on error, but says nothing about a warning being output if it fails. In 4.3.0, A warning is printed: Warning: filetype() [function.filetype]: Lstat failed for (null) (errno=2 - No such file or directory) in /home/alienhosting/public_html/webmail/plugins/administrator/options.php on line 431 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21410&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php