umask

PHP -> Funkcie -> Súborové funkcie PHP -> funkcia umask

Syntax

int umask(int mask);

Popis

Príkaz jazyka PHP
umask - changes the current umask

Umask sets PHP’s umask to mask & 0777 and returns the old umask. When PHP is being used as a server module, the umask is restored when each request is finished.

Umask without arguments simply returns the current umask.