Menu Samaritan's Purse

UMASK

Changes the current umask

SYNTAX

umask ([ int $mask ] ) : int

PARAMETERS

mask

The new umask.

RETURN

umask() without arguments simply returns the current umask otherwise the old umask is returned.

EXAMPLES

0022
0000
0022

PHP