Home
last modified time | relevance | path

Searched refs:umask (Results 1 – 17 of 17) sorted by relevance

/PHP-5.3/ext/standard/tests/file/
H A Dumask_basic.phpt20 var_dump( umask() );
22 if ($mask != umask()) {
31 -- Setting umask to 0 --
35 -- Setting umask to 1 --
39 -- Setting umask to 2 --
43 -- Setting umask to 3 --
47 -- Setting umask to 4 --
51 -- Setting umask to 5 --
55 -- Setting umask to 6 --
59 -- Setting umask to 7 --
[all …]
H A Dumask_variation1.phpt29 // setting umask
30 umask($mask);
62 -- Setting umask to 000 --
65 -- Setting umask to 001 --
68 -- Setting umask to 002 --
71 -- Setting umask to 003 --
74 -- Setting umask to 004 --
77 -- Setting umask to 005 --
80 -- Setting umask to 006 --
83 -- Setting umask to 007 --
[all …]
H A Dumask_variation2.phpt29 // setting umask
30 umask($mask);
62 -- Setting umask to 351 --
65 -- Setting umask to 352 --
68 -- Setting umask to 353 --
71 -- Setting umask to 354 --
74 -- Setting umask to 355 --
77 -- Setting umask to 356 --
80 -- Setting umask to 357 --
83 -- Setting umask to 360 --
[all …]
H A Dumask_error.phpt2 Test umask() function: error conditions
11 /* Prototype: int umask ( [int $mask] );
12 Description: Changes the current umask
15 echo "*** Testing umask() : error conditions ***\n";
17 var_dump( umask(0000, true) ); // args > expected
22 *** Testing umask() : error conditions ***
24 Warning: umask() expects at most 1 parameter, 2 given in %s on line %d
H A Dumask_variation3.phpt2 Test umask() function : usage variation
13 /* Prototype : int umask([int mask])
14 * Description: Return or change the umask
19 echo "*** Testing umask() : usage variation ***\n";
111 umask(0);
112 var_dump(umask($value));
113 var_dump(umask() & 0777);
119 *** Testing umask() : usage variation ***
146 Error: 2 - umask() expects parameter 1 to be long, array given, %s(%d)
151 Error: 2 - umask() expects parameter 1 to be long, array given, %s(%d)
[all …]
/PHP-5.3/ext/session/tests/
H A Dbug42596.phpt22 umask(0);
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_sockets.c190 saved_umask = umask(0777 ^ wp->socket_mode); in fpm_sockets_new_listening_socket()
196 umask(saved_umask); in fpm_sockets_new_listening_socket()
205 umask(saved_umask); in fpm_sockets_new_listening_socket()
/PHP-5.3/ext/standard/
H A Dfile.h52 PHP_FUNCTION(umask);
H A Dbasic_functions.h227 int umask; member
H A Dfile.c1498 PHP_FUNCTION(umask) in PHP_FUNCTION() argument
1503 oldumask = umask(077); in PHP_FUNCTION()
1505 if (BG(umask) == -1) { in PHP_FUNCTION()
1506 BG(umask) = oldumask; in PHP_FUNCTION()
1514 umask(oldumask); in PHP_FUNCTION()
1516 umask(arg1); in PHP_FUNCTION()
H A Dbasic_functions.c3060 PHP_FE(umask, arginfo_umask)
3473 BG(umask) = -1; in basic_globals_ctor()
3771 if (BG(umask) != -1) { in PHP_RSHUTDOWN_FUNCTION()
3772 umask(BG(umask)); in PHP_RSHUTDOWN_FUNCTION()
5876 oldmask = umask(077);
5877 umask(oldmask);
/PHP-5.3/sapi/apache/
H A Dmod_php5.c88 saved_umask = umask(077); in php_save_umask()
89 umask(saved_umask); in php_save_umask()
518 umask(saved_umask); in php_restore_umask()
/PHP-5.3/ext/zip/lib/
H A Dzip_close.c337 mask = umask(0); in zip_close()
338 umask(mask); in zip_close()
/PHP-5.3/sapi/apache_hooks/
H A Dmod_php5.c233 saved_umask = umask(077); in php_save_umask()
234 umask(saved_umask); in php_save_umask()
571 umask(saved_umask); in php_restore_umask()
/PHP-5.3/
H A Dphp.ini-development1488 ; does not overwrite the process's umask.
H A Dphp.ini-production1488 ; does not overwrite the process's umask.
H A DNEWS4609 - Fixed bug #40606 (umask is not being restored when request is finished).
5514 - Fixed bug #36630 (umask not reset at the end of the request). (Ilia)

Completed in 100 milliseconds