is_dir: clarify how relative filenames are handled, add see also for chdir

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78693 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
jim winstead 2002-04-18 21:36:40 +00:00
parent 6ddafd4972
commit 50b52d2544

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.is-dir">
<refnamediv>
@ -13,7 +13,9 @@
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
Returns &true; if the filename exists and is a directory.
Returns &true; if the filename exists and is a directory. If
<parameter>filename</parameter> is a relative filename, it will be
checked relative to the current working directory.
</para>
<para>
The results of this function are cached. See
@ -25,7 +27,7 @@
be examined must be accessible via the server's filesystem.
</simpara>
<para>
See also <function>is_file</function> and
See also <function>chdir</function>, <function>is_file</function> and
<function>is_link</function>.
</para>
</refsect1>