Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/standard/tests/file/
H A Dis_writable_error.phpt2 Test is_writable() and its alias is_writeable() function: error conditions
5 /* Prototype: bool is_writable ( string $filename );
8 is_writeable() is an alias of is_writable()
11 echo "*** Testing is_writable(): error conditions ***\n";
12 var_dump( is_writable() ); // args < expected
16 var_dump( is_writable(1, 2) ); // args > expected
19 echo "\n*** Testing is_writable() on non-existent file ***\n";
20 var_dump( is_writable(__DIR__."/is_writable") );
21 var_dump( is_writeable(__DIR__."/is_writable") );
26 *** Testing is_writable(): error conditions ***
[all …]
H A Dis_writable_variation3.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - invalid file names
11 /* Prototype: bool is_writable ( string $filename );
14 is_writeable() is an alias of is_writable()
17 /* test is_writable() & is_writeable() with invalid arguments */
19 echo "*** Testing is_writable(): usage variations ***\n";
21 echo "\n*** Testing is_writable() with invalid filenames ***\n";
36 var_dump( is_writable($misc_file) );
42 *** Testing is_writable(): usage variations ***
44 *** Testing is_writable() with invalid filenames ***
60 Warning: is_writable() expects parameter 1 to be a valid path, array given in %s on line %d
H A Dis_writable_variation2.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - file/dir with diff. pe…
12 /* Prototype: bool is_writable ( string $filename );
15 is_writeable() is an alias of is_writable()
21 echo "*** Testing is_writable(): usage variations ***\n";
26 echo "\n*** Testing is_writable() on directory without write permission ***\n";
28 var_dump( is_writable("$file_path/is_writable_variation2") ); // exp: bool(false)
32 echo "\n*** Testing miscelleneous input for is_writable() function ***\n";
63 var_dump( is_writable($misc_file) );
80 *** Testing is_writable(): usage variations ***
82 *** Testing is_writable() on directory without write permission ***
[all …]
H A Dis_writable_variation1.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - diff. path notations
9 /* Prototype: bool is_writable ( string $filename );
12 is_writeable() is an alias of is_writable()
14 /* test is_writable() & is_writeable() with file having different filepath notation */
16 echo "*** Testing is_writable(): usage variations ***\n";
26 using is_writable() function */
53 var_dump( is_writable($file) );
67 *** Testing is_writable(): usage variations ***
88 Warning: is_writable() expects parameter 1 to be a valid path, string given in %s on line %d
95 Warning: is_writable() expects parameter 1 to be a valid path, string given in %s on line %d
[all …]
H A D003.phpt7 'is_writable',
H A Drealpath_cache_win32.phpt35 ["is_writable"]=>
H A Dtempnam_variation3-win32.phpt78 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
9 /* Prototype: bool is_writable ( string $filename );
12 is_writeable() is an alias of is_writable()
18 echo "*** Testing is_writable(): basic functionality ***\n";
21 $filename = __DIR__."/is_writable.tmp";
26 using is_writable() */
31 var_dump( is_writable($filename) );
42 *** Testing is_writable(): basic functionality ***
/PHP-7.4/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-7.4/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-7.4/ext/session/tests/
H A Dskipif.inc16 if ($save_path && !@is_writable($save_path)) {
20 if (!@is_writable($save_path)) {
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_bug71103.phpt33 is_writable($f),
34 is_writable($foo_obj)
/PHP-7.4/ext/phar/tests/
H A Dstat.phpt41 echo "is_writable\n";
42 var_dump(is_writable("dir/file1.txt"));
204 is_writable
H A Dphar_createdefaultstub.phpt190 if (!$temp || !is_writable($temp)) {
484 if (!$temp || !is_writable($temp)) {
786 if (!$temp || !is_writable($temp)) {
/PHP-7.4/ext/standard/
H A Dphp_filestat.h37 PHP_FUNCTION(is_writable);
/PHP-7.4/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-7.4/TSRM/
H A Dtsrm_win32.c298 fAccess = bucket->is_writable; in tsrm_win32_access()
310 fAccess = bucket->is_readable & bucket->is_writable; in tsrm_win32_access()
345 bucket->is_writable = fAccess; in tsrm_win32_access()
350 bucket->is_writable = fAccess; in tsrm_win32_access()
/PHP-7.4/ext/hash/tests/
H A Dhash_file_basic1.phpt23 if (is_writable($file)) {
H A Dhash_hmac_file_basic.phpt24 if (is_writable($file)) {
/PHP-7.4/ext/standard/tests/strings/
H A Dmd5_file.phpt21 if (is_writable($filename)) {
H A Dsha1_file.phpt23 if (is_writable($filename)) {
/PHP-7.4/ext/phar/
H A Dshortarc.php154 if (!$temp || !is_writable($temp)) {
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.h218 uint8_t is_writable:1; member

Completed in 40 milliseconds

12