- Mention the fact realpath() needs to have executable permissions to work

- Remove odd period in the description


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294802 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2010-02-09 13:07:15 +00:00
parent 899fc02d9d
commit 5408903296

View file

@ -15,7 +15,7 @@
<para>
<function>realpath</function> expands all symbolic links and
resolves references to '/./', '/../' and extra '/' characters in
the input <parameter>path</parameter>. and return the canonicalized
the input <parameter>path</parameter> and return the canonicalized
absolute pathname.
</para>
</refsect1>
@ -46,6 +46,13 @@
<function>realpath</function> returns &false; on failure, e.g. if
the file does not exist.
</para>
<note>
<para>
The running script must have executable permissions on all directories in
the hierarchy, otherwise <function>realpath</function> will return
&false;.
</para>
</note>
</refsect1>
<refsect1 role="changelog">