ID: 9697 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: Filesystem function related Operating System: winnt 4.0 PHP Version: 4.0.4 New Comment:
No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-10-20 21:11:42] [EMAIL PROTECTED] Does this happen with PHP 4.0.6 ? --Jani ------------------------------------------------------------------------ [2001-03-12 03:48:55] [EMAIL PROTECTED] this prints out 'crap' because is_dir() and is_file() return null instead of a boolean if the filename ends with a £. yes, the file in the example is a valid windows filename. $fullPath = realpath("c:/{}d % test.txt {} _-d°§+@ #ç&()=~^`´'$£"); if (is_dir($fullPath) == null) echo 'crap'; -fab ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=9697&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]