PHP 4.0 Bug #8736 Updated: Return value of umask() not an octal number

From: Date: Tue, 16 Jan 2001 13:26:29 +0000
Subject: PHP 4.0 Bug #8736 Updated: Return value of umask() not an octal number
Groups: php.dev 
Request: Send a blank email to php-dev+get-44232@lists.php.net to get a copy of this message
ID: 8736 User Update by: ahasenack@ig.com.br Old-Status: Open Status: Closed Bug Type: *Directory/Filesystem functions Description: Return value of umask() not an octal number ups, sorry, very dumb question. Forget it. Previous Comments: --------------------------------------------------------------------------- [2001-01-16 08:03:39] ahasenack@ig.com.br Shouldn't umask()'s return value be an octal number? It seems to be a decimal number: umask(077); echo umask(); will get you 63 as the answer, which is 77 in octal base. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8736

« previous php.dev (#44232) next »