Fixed duplicate windows typo, cleaned up missing param pieces, clarified allowed chmod settings language for newbies.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30176 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ron Chmara 2000-08-12 23:43:38 +00:00
parent db7f8bfa86
commit 913711cfc3

View file

@ -57,10 +57,10 @@ $file = basename($path); // $file is set to "index.php3"
</funcprototype>
</funcsynopsis>
<para>
Attempts to change the group of the file filename to group. Only
the superuser may change the group of a file arbitrarily; other
users may change the group of a file to any group of which that
user is a member.
Attempts to change the group of the file
<parameter>filename</parameter> to <parameter>group</parameter>. Only the
superuser may change the group of a file arbitrarily; other users may change
the group of a file to any group of which that user is a member.
</para>
<para>
Returns true on success; otherwise returns false.
@ -98,7 +98,8 @@ $file = basename($path); // $file is set to "index.php3"
</para>
<para>
Note that <parameter>mode</parameter> is not automatically
assumed to be an octal value. To ensure the expected operation,
assumed to be an octal value, so strings (such as "g+w") will
not work properly. To ensure the expected operation,
you need to prefix <parameter>mode</parameter> with a zero (0):
<informalexample>
<programlisting role="php">
@ -142,10 +143,6 @@ chmod( "/somedir/somefile", 0755 ); // octal; correct value of mode
</para>
<para>
Returns true on success; otherwise returns false.
<note>
<simpara>On Windows, does nothing and returns true.
</simpara>
</note>
</para>
<para>
See also <function>chown</function> and