File functions with directories

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327743 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2012-09-22 14:12:33 +00:00
parent c4e11d3254
commit fa99d27fdb
2 changed files with 8 additions and 0 deletions

View file

@ -352,6 +352,10 @@ $handle = fopen("ftp://user:password@example.com/somefile.txt", "w");
the files and directories you're using are accessible to the server
process.
</para>
<para>
This function may success for directories. Use <function>is_dir</function>
to distinguish file and directory.
</para>
</refsect1>
<refsect1 role="seealso">

View file

@ -81,6 +81,10 @@ if (is_readable($filename)) {
The check is done using the real UID/GID instead of the effective one.
</para>
</note>
<para>
This function may return &true; for directories. Use
<function>is_dir</function> to distinguish file and directory.
</para>
</refsect1>
<refsect1 role="seealso">