Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions filetype.xml From: Philip Olson (philip <email protected>)
Date: 01/04/03

> <para>
> Returns &false; if an error occurs.
> + This function will also produce an E_WARNING message if the stat call fails or
> + if the file type is unknown.

Some thoughts:

  a) Always use <function>filetype</function> instead
     of "This function".
  b) When if ever will it just return false with no
     E_WARNING? What's a stat call?
  c) Link to the E_WARNING docs.
  d) Describe this as an error of level E_WARNING.
  e) Watch the whitespace. There is no reason to add
     this information on its own line.
  f) Integrate this information with the &false; info.

Also I changed this bug report as I find this E_WARNING
in linux but in windows it says everything is a 'dir',
even if NULL, a string, or bogus. It's now a filesystem
bug.

Regards,
Philip

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php