Home
last modified time | relevance | path

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

12

/PHP-5.5/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(dirname(__FILE__)."/is_writable") );
21 var_dump( is_writeable(dirname(__FILE__)."/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
19 /* Prototype: bool is_writable ( string $filename );
22 is_writeable() is an alias of is_writable()
25 /* test is_writable() & is_writeable() with invalid arguments */
27 echo "*** Testing is_writable(): usage variations ***\n";
29 echo "\n*** Testing is_writable() with invalid filenames ***\n";
44 var_dump( is_writable($misc_file) );
52 *** Testing is_writable(): usage variations ***
54 *** Testing is_writable() with invalid filenames ***
70 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…
21 /* Prototype: bool is_writable ( string $filename );
24 is_writeable() is an alias of is_writable()
30 echo "*** Testing is_writable(): usage variations ***\n";
35 echo "\n*** Testing is_writable() on directory without write permission ***\n";
37 var_dump( is_writable("$file_path/is_writable_variation2") ); // exp: bool(false)
41 echo "\n*** Testing miscelleneous input for is_writable() function ***\n";
72 var_dump( is_writable($misc_file) );
89 *** Testing is_writable(): usage variations ***
91 *** 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
21 /* Prototype: bool is_writable ( string $filename );
24 is_writeable() is an alias of is_writable()
26 /* test is_writable() & is_writeable() with file having different filepath notation */
28 echo "*** Testing is_writable(): usage variations ***\n";
38 using is_writable() function */
65 var_dump( is_writable($file) );
79 *** Testing is_writable(): usage variations ***
100 Warning: is_writable() expects parameter 1 to be a valid path, string given in %s on line %d
107 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.phpt76 if (!is_writable($file_name)) {
H A Dfopen_variation10-win32.phpt10 if (!is_writable('c:\\fopen_variation10.tmp')) {
H A Dfopen_variation11-win32.phpt9 if (!is_writable('c:\\fopen_variation10.tmp')) {
H A Dis_writable_basic.phpt2 Test is_writable() and its alias is_writeable() function: basic functionality
18 /* Prototype: bool is_writable ( string $filename );
21 is_writeable() is an alias of is_writable()
27 echo "*** Testing is_writable(): basic functionality ***\n";
30 $filename = dirname(__FILE__)."/is_writable.tmp";
35 using is_writable() */
40 var_dump( is_writable($filename) );
51 *** Testing is_writable(): basic functionality ***
/PHP-5.5/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-5.5/ext/standard/tests/file/windows_acls/
H A Dbug44859.phpt2 bug #44859 (incorrect result with NTFS ACL permissions, is_writable)
27 if (is_writable($path) == $exp) {
30 var_dump(is_writable($path), $exp);
43 if (is_writable($path) == $exp) {
46 var_dump(is_writable($path), $exp);
H A Dcommon.inc174 if (!is_writable($path)) {
183 if (!is_writable($path)) {
192 if (!is_writable($path)) {
/PHP-5.5/ext/session/tests/
H A Dskipif.inc16 if ($save_path && !@is_writable($save_path)) {
20 if (!@is_writable($save_path)) {
/PHP-5.5/ext/wddx/tests/
H A D005.phpt15 if ($save_path && !@is_writable($save_path)) {
19 if (!@is_writable($save_path)) {
H A D004.phpt15 if ($save_path && !@is_writable($save_path)) {
19 if (!@is_writable($save_path)) {
/PHP-5.5/ext/phar/tests/
H A Dstat.phpt40 echo "is_writable\n";
41 var_dump(is_writable("dir/file1.txt"));
203 is_writable
/PHP-5.5/ext/standard/
H A Dphp_filestat.h39 PHP_FUNCTION(is_writable);
/PHP-5.5/TSRM/
H A Dtsrm_win32.c303 fAccess = bucket->is_writable; in tsrm_win32_access()
315 fAccess = bucket->is_readable & bucket->is_writable; in tsrm_win32_access()
350 bucket->is_writable = fAccess; in tsrm_win32_access()
355 bucket->is_writable = fAccess; in tsrm_win32_access()
H A Dtsrm_virtual_cwd.h223 unsigned char is_writable; member
/PHP-5.5/ext/hash/tests/
H A Dhash_file_basic1.phpt25 if (is_writable($file)) {
H A Dhash_hmac_file_basic.phpt26 if (is_writable($file)) {
/PHP-5.5/ext/phar/
H A Dshortarc.php154 if (!$temp || !is_writable($temp)) {
/PHP-5.5/ext/standard/tests/strings/
H A Dmd5_file.phpt21 if (is_writable($filename)) {
H A Dsha1_file.phpt23 if (is_writable($filename)) {

Completed in 113 milliseconds

12