On Sat, 4 Jan 2003, Sterling Hughes wrote:
> > Probably but it looks like that filetype(null); for example under windows
> > will return type directory...
> > 
> > So it looks an important bug too.
> > 
> 
> Its about as much of a bug as passing filetype(null) isn't a bug.

Okay, let's use filetype('somebogusname') as an example:

Linux:
 - Returns boolean false
 - E_WARNING about lstat failure...

Windows:
 - Returns string 'dir'
 - No E_WARNING

Is this how this is going to be forever?  Is this behavior
suppose to be documented?

Regards,
Philip


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to