PHP 8.5.0 Alpha 1 available for testing

Voting

: min(two, two)?
(Example: nine)

The Note You're Voting On

ahmad dot mayahi at gmail dot com
8 years ago
Simply umask means the default permissions for new files/directories:

<?php
umask
(022);
?>

This sets the default permissions for user, groups, and others respectively:

• 0 - read, write and execute
• 1 - read and write
• 2 - read and execute
• 3 - read only
• 4 - write and execute
• 5 - write only
• 6 - execute only
• 7 - no permissions

<< Back to user notes page

To Top