php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64605 improve phrasing
Submitted: 2013-04-07 18:49 UTC Modified: 2014-05-18 15:14 UTC
From: matteosistisette at gmail dot com Assigned: sobak (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matteosistisette at gmail dot com
New email:
PHP Version: OS:

 

 [2013-04-07 18:49 UTC] matteosistisette at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.chmod#refsect1-function.chmod-
parameters
---

""
Note that mode is not automatically 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 mode with a zero (0):
""
(emphasys added).

That should read maybe something like
""
Note that mode is not automatically assumed to be an octal value, so, to ensure 
the expected operation, you need to prefix mode with a zero (0). Strings such as 
"g+w" will not work properly.
""

The no-octal-assumed-for-ints thing has nothing to do with the no-support-for-
string-mode-description thing.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-18 15:13 UTC] sobak@php.net
Automatic comment from SVN on behalf of sobak
Revision: http://svn.php.net/viewvc/?view=revision&revision=333558
Log: Fixed bug #64605
 [2014-05-18 15:14 UTC] sobak@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: sobak
 [2014-05-18 15:14 UTC] sobak@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of sobak
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=063e19aa135491544f2e96ea47b9597282d35c60
Log: Fixed bug #64605
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 02:00:01 2026 UTC