Home
last modified time | relevance | path

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

/PHP-5.6/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.6/ext/phar/tests/
H A Dbug77022.phpt10 umask(022);
11 var_dump(decoct(umask()));
H A Dstat.phpt10 umask(0);
/PHP-5.6/ext/session/tests/
H A Dbug42596.phpt22 umask(0);
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_sockets.c187 saved_umask = umask(0777 ^ wp->socket_mode); in fpm_sockets_new_listening_socket()
193 umask(saved_umask); in fpm_sockets_new_listening_socket()
202 umask(saved_umask); in fpm_sockets_new_listening_socket()
/PHP-5.6/ext/standard/
H A Dfile.h52 PHP_FUNCTION(umask);
H A Dbasic_functions.h232 int umask; member
H A Dfile.c1391 PHP_FUNCTION(umask) in PHP_FUNCTION() argument
1396 oldumask = umask(077); in PHP_FUNCTION()
1398 if (BG(umask) == -1) { in PHP_FUNCTION()
1399 BG(umask) = oldumask; in PHP_FUNCTION()
1407 umask(oldumask); in PHP_FUNCTION()
1409 umask(mask); in PHP_FUNCTION()
H A Dbasic_functions.c3063 PHP_FE(umask, arginfo_umask)
3445 BG(umask) = -1; in basic_globals_ctor()
3772 if (BG(umask) != -1) { in PHP_RSHUTDOWN_FUNCTION()
3773 umask(BG(umask)); in PHP_RSHUTDOWN_FUNCTION()
5829 oldmask = umask(077);
5830 umask(oldmask);
/PHP-5.6/sapi/apache/
H A Dmod_php5.c88 saved_umask = umask(077); in php_save_umask()
89 umask(saved_umask); in php_save_umask()
514 umask(saved_umask); in php_restore_umask()
/PHP-5.6/ext/zip/lib/
H A Dzip_close.c277 mask = umask(0); in zip_close()
278 umask(mask); in zip_close()
/PHP-5.6/sapi/apache_hooks/
H A Dmod_php5.c233 saved_umask = umask(077); in php_save_umask()
234 umask(saved_umask); in php_save_umask()
566 umask(saved_umask); in php_restore_umask()
/PHP-5.6/ext/phar/
H A Dphar_object.c3673 mask = umask(0); in phar_add_file()
3674 umask(mask); in phar_add_file()
/PHP-5.6/
H A Dphp.ini-development1443 ; does not overwrite the process's umask.
H A Dphp.ini-production1443 ; does not overwrite the process's umask.
H A DNEWS9237 - Fixed bug #40606 (umask is not being restored when request is finished).
10142 - Fixed bug #36630 (umask not reset at the end of the request). (Ilia)

Completed in 99 milliseconds