php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80885 No clear example of umask() utility
Submitted: 2021-03-18 20:19 UTC Modified: 2021-03-19 13:10 UTC
From: chealer at gmail dot com Assigned:
Status: Verified Package: Filesystem function related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2021-03-18 20:19 UTC] chealer at gmail dot com
Description:
------------
The umask() function seems important, but the only example given on https://www.php.net/manual/en/function.umask.php does not indicate the effect. It would help a lot to either add an example which specifies what the effect is, or to specify the effect of the existing example.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-19 13:10 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2021-03-19 13:10 UTC] cmb@php.net
Yes, that documentation needs some improvement, starting with an
explanation what an umask is.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 03:01:29 2024 UTC