Home
last modified time | relevance | path

Searched refs:is_writable (Results 1 – 25 of 38) sorted by relevance

12

/php-src/ext/standard/tests/file/
H A Dis_writable_error.phpt2 Test is_writable() and its alias is_writeable() function: error conditions
5 echo "\n*** Testing is_writable() on non-existent file ***\n";
6 var_dump( is_writable(__DIR__."/is_writable") );
7 var_dump( is_writeable(__DIR__."/is_writable") );
12 *** Testing is_writable() on non-existent file ***
H A Dis_writable_variation3.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - invalid file names
11 /* test is_writable() & is_writeable() with invalid arguments */
13 echo "*** Testing is_writable(): usage variations ***\n";
15 echo "\n*** Testing is_writable() with invalid filenames ***\n";
27 var_dump( is_writable($misc_file) );
33 *** Testing is_writable(): usage variations ***
35 *** Testing is_writable() with invalid filenames ***
H A Dis_writable_variation2.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - file/dir with diff. pe…
15 echo "*** Testing is_writable(): usage variations ***\n";
20 echo "\n*** Testing is_writable() on directory without write permission ***\n";
22 var_dump( is_writable("$file_path/is_writable_variation2") ); // exp: bool(false)
26 echo "\n*** Testing miscellaneous input for is_writable() function ***\n";
57 var_dump( is_writable($misc_file) );
74 *** Testing is_writable(): usage variations ***
76 *** Testing is_writable() on directory without write permission ***
80 *** Testing miscellaneous input for is_writable() function ***
H A Dis_writable_variation1.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - diff. path notations
9 /* test is_writable() & is_writeable() with file having different filepath notation */
11 echo "*** Testing is_writable(): usage variations ***\n";
21 using is_writable() function */
49 var_dump( is_writable($file) );
70 *** Testing is_writable(): usage variations ***
H A Drealpath_cache_win32.phpt35 ["is_writable"]=>
H A D003.phpt7 'is_writable',
H A Dtempnam_variation3-win32.phpt77 if (!is_writable($file_name)) {
H A Dfopen_variation10-win32.phpt10 if (!is_writable('c:\\')) {
H A Dfopen_variation11-win32.phpt9 if (!is_writable('c:\\')) {
H A Dis_writable_basic.phpt2 Test is_writable() and its alias is_writeable() function: basic functionality
12 echo "*** Testing is_writable(): basic functionality ***\n";
15 $filename = __DIR__."/is_writable.tmp";
20 using is_writable() */
25 var_dump( is_writable($filename) );
36 *** Testing is_writable(): basic functionality ***
/php-src/tests/security/
H A Dopen_basedir_is_writable.phpt8 test_open_basedir("is_writable");
16 *** Testing open_basedir configuration [is_writable] ***
23 Warning: is_writable(): open_basedir restriction in effect. File(../bad) is not within the allowed …
26 Warning: is_writable(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the …
29 Warning: is_writable(): open_basedir restriction in effect. File(..) is not within the allowed path…
32 Warning: is_writable(): open_basedir restriction in effect. File(../) is not within the allowed pat…
35 Warning: is_writable(): open_basedir restriction in effect. File(/) is not within the allowed path(…
38 Warning: is_writable(): open_basedir restriction in effect. File(../bad/.) is not within the allowe…
41 Warning: is_writable(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within…
47 Warning: is_writable(): open_basedir restriction in effect. File(./../.) is not within the allowed …
[all …]
/php-src/ext/standard/tests/file/windows_acls/
H A Dbug44859.phpt2 bug #44859 (incorrect result with NTFS ACL permissions, is_writable)
28 if (is_writable($path) == $exp) {
31 var_dump(is_writable($path), $exp);
44 if (is_writable($path) == $exp) {
47 var_dump(is_writable($path), $exp);
/php-src/ext/session/tests/
H A Dskipif.inc8 if ($save_path && !@is_writable($save_path)) {
12 if (!@is_writable($save_path)) {
/php-src/ext/standard/tests/mail/
H A Dgh7875.phpt9 $is_writable = is_writable($filename);
12 if ($is_writable) die("skip cannot make file read-only");
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug71103.phpt33 is_writable($f),
34 is_writable($foo_obj)
/php-src/ext/phar/tests/
H A Dstat.phpt41 echo "is_writable\n";
42 var_dump(is_writable("dir/file1.txt"));
203 is_writable
H A Dphar_createdefaultstub.phpt189 if (!$temp || !is_writable($temp)) {
483 if (!$temp || !is_writable($temp)) {
785 if (!$temp || !is_writable($temp)) {
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_load_data.phpt22 if (!is_writable($row['value']))
27 if (file_exists($filename) && !is_writable($filename))
/php-src/ext/hash/tests/
H A Dhash_hmac_file_basic.phpt18 if (is_writable($file)) {
H A Dhash_file_basic1.phpt17 if (is_writable($file)) {
/php-src/TSRM/
H A Dtsrm_win32.c295 fAccess = bucket->is_writable; in tsrm_win32_access()
307 fAccess = bucket->is_readable & bucket->is_writable; in tsrm_win32_access()
342 bucket->is_writable = fAccess; in tsrm_win32_access()
347 bucket->is_writable = fAccess; in tsrm_win32_access()
/php-src/ext/standard/tests/strings/
H A Dmd5_file.phpt17 if (is_writable($filename)) {
H A Dsha1_file.phpt20 if (is_writable($filename)) {
/php-src/ext/phar/
H A Dshortarc.php154 if (!$temp || !is_writable($temp)) {
/php-src/Zend/
H A Dzend_virtual_cwd.h227 uint8_t is_writable:1; member

Completed in 38 milliseconds

12