Home
last modified time | relevance | path

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

12

/PHP-8.0/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";
29 var_dump( is_writable($misc_file) );
35 *** Testing is_writable(): usage variations ***
37 *** 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.phpt79 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-8.0/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-8.0/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-8.0/ext/session/tests/
H A Dskipif.inc16 if ($save_path && !@is_writable($save_path)) {
20 if (!@is_writable($save_path)) {
/PHP-8.0/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug71103.phpt33 is_writable($f),
34 is_writable($foo_obj)
/PHP-8.0/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-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_load_data.phpt21 if (!is_writable($row['value']))
26 if (file_exists($filename) && !is_writable($filename))
/PHP-8.0/ext/hash/tests/
H A Dhash_file_basic1.phpt17 if (is_writable($file)) {
H A Dhash_hmac_file_basic.phpt18 if (is_writable($file)) {
/PHP-8.0/TSRM/
H A Dtsrm_win32.c296 fAccess = bucket->is_writable; in tsrm_win32_access()
308 fAccess = bucket->is_readable & bucket->is_writable; in tsrm_win32_access()
343 bucket->is_writable = fAccess; in tsrm_win32_access()
348 bucket->is_writable = fAccess; in tsrm_win32_access()
/PHP-8.0/ext/standard/tests/strings/
H A Dmd5_file.phpt17 if (is_writable($filename)) {
H A Dsha1_file.phpt20 if (is_writable($filename)) {
/PHP-8.0/ext/phar/
H A Dshortarc.php154 if (!$temp || !is_writable($temp)) {
/PHP-8.0/Zend/
H A Dzend_virtual_cwd.h217 uint8_t is_writable:1; member
/PHP-8.0/ext/standard/
H A Dfilestat.c1005 FileFunction(PHP_FN(is_writable), FS_IS_W) in FileFunction()
1076 add_assoc_bool_ex(&entry, "is_writable", sizeof("is_writable") - 1, bucket->is_writable); in PHP_FUNCTION()

Completed in 38 milliseconds

12