Searched refs:is_readable (Results 1 – 25 of 33) sorted by relevance
12
/PHP-7.4/ext/standard/tests/file/ |
H A D | is_readable_error.phpt | 2 Test is_readable() function: error conditions 5 /* Prototype: bool is_readable ( string $filename ); 9 echo "*** Testing is_readable(): error conditions ***\n"; 10 var_dump( is_readable() ); // args < expected 11 var_dump( is_readable(1, 2) ); // args > expected 13 echo "\n*** Testing is_readable() on non-existent file ***\n"; 14 var_dump( is_readable(__DIR__."/is_readable.tmp") ); 19 *** Testing is_readable(): error conditions *** 21 Warning: is_readable() expects exactly 1 parameter, 0 given in %s on line %d 24 Warning: is_readable() expects exactly 1 parameter, 2 given in %s on line %d [all …]
|
H A D | is_readable_variation3.phpt | 2 Test is_readable() function: usage variations - invalid file names 9 /* Prototype: bool is_readable ( string $filename ); 15 echo "*** Testing is_readable(): usage variations ***\n"; 20 echo "\n*** Testing is_readable() on miscelleneous filenames ***\n"; 35 var_dump( is_readable($misc_file) ); 42 *** Testing is_readable(): usage variations *** 44 *** Testing is_readable() on miscelleneous filenames *** 53 Warning: is_readable() expects parameter 1 to be a valid path, array given in %s on line %d
|
H A D | is_readable_variation1.phpt | 2 Test is_readable() function: usage variations - diff. file notations 9 /* Prototype: bool is_readable ( string $filename ); 13 /* test is_readable() with file having different filepath notation */ 16 echo "*** Testing is_readable(): usage variations ***\n"; 26 is_readable() function */ 53 var_dump( is_readable($file) ); 66 *** Testing is_readable(): usage variations *** 81 Warning: is_readable() expects parameter 1 to be a valid path, string given in %s on line %d 85 Warning: is_readable() expects parameter 1 to be a valid path, string given in %s on line %d 89 Warning: is_readable() expects parameter 1 to be a valid path, string given in %s on line %d
|
H A D | is_readable_variation2.phpt | 2 Test is_readable() function: usage variations - file/dir with diff. perms 12 /* Prototype: bool is_readable ( string $filename ); 19 echo "*** Testing is_readable(): usage variations ***\n"; 24 echo "\n*** Testing is_readable() on directory without read permission ***\n"; 26 var_dump( is_readable("$file_path/is_readable_variation2") ); // exp: bool(false) 29 echo "\n*** Testing miscelleneous input for is_readable() function ***\n"; 59 var_dump( is_readable($file) ); 75 *** Testing is_readable(): usage variations *** 77 *** Testing is_readable() on directory without read permission *** 80 *** Testing miscelleneous input for is_readable() function ***
|
H A D | 003.phpt | 8 'is_readable',
|
H A D | realpath_cache_win32.phpt | 33 ["is_readable"]=>
|
H A D | 001-win32-mb.phpt | 55 if (is_readable($fname)) {
|
H A D | 001-win32.phpt | 52 if (is_readable('test.file')) {
|
H A D | is_readable_basic-win32-mb.phpt | 2 Test is_readable() function: basic functionality 11 /* Prototype: bool is_readable ( string $filename ); 18 echo "*** Testing is_readable(): basic functionality ***\n"; 21 $filename = __DIR__."/私はガラスを食べられますis_readable.tmp"; 26 using is_readable() */ 30 var_dump( is_readable($filename) ); 41 *** Testing is_readable(): basic functionality ***
|
H A D | is_readable_basic-win32.phpt | 2 Test is_readable() function: basic functionality 11 /* Prototype: bool is_readable ( string $filename ); 18 echo "*** Testing is_readable(): basic functionality ***\n"; 21 $filename = __DIR__."/is_readable.tmp"; 26 using is_readable() */ 30 var_dump( is_readable($filename) ); 41 *** Testing is_readable(): basic functionality ***
|
H A D | is_readable_basic.phpt | 2 Test is_readable() function: basic functionality 12 /* Prototype: bool is_readable ( string $filename ); 19 echo "*** Testing is_readable(): basic functionality ***\n"; 22 $filename = __DIR__."/is_readable.tmp"; 27 using is_readable() */ 31 var_dump( is_readable($filename) ); 42 *** Testing is_readable(): basic functionality ***
|
/PHP-7.4/tests/security/ |
H A D | open_basedir_is_readable.phpt | 8 test_open_basedir("is_readable"); 16 *** Testing open_basedir configuration [is_readable] *** 23 Warning: is_readable(): open_basedir restriction in effect. File(../bad) is not within the allowed … 26 Warning: is_readable(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the … 29 Warning: is_readable(): open_basedir restriction in effect. File(..) is not within the allowed path… 32 Warning: is_readable(): open_basedir restriction in effect. File(../) is not within the allowed pat… 35 Warning: is_readable(): open_basedir restriction in effect. File(/) is not within the allowed path(… 38 Warning: is_readable(): open_basedir restriction in effect. File(../bad/.) is not within the allowe… 41 Warning: is_readable(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within… 47 Warning: is_readable(): open_basedir restriction in effect. File(./../.) is not within the allowed … [all …]
|
H A D | open_basedir.inc | 32 if (is_readable($directory) == FALSE) {
|
/PHP-7.4/ext/standard/tests/file/windows_acls/ |
H A D | bug44859_2.phpt | 2 bug #44859 (incorrect result with NTFS ACL permissions, is_readable) 28 if (is_readable($path) == $exp) { 31 var_dump(is_readable($path), $exp); 44 if (is_readable($path) == $exp) { 47 var_dump(is_readable($path), $exp);
|
H A D | bug44859_4.phpt | 2 bug #44859 (incorrect result with NTFS ACL permissions, is_readable) 30 if (is_readable($path) == $exp) { 33 var_dump(is_readable($path), $exp); 46 if (is_readable($path) == $exp) { 49 var_dump(is_readable($path), $exp);
|
H A D | common.inc | 110 Required to set no permission and check that is_readable()
|
/PHP-7.4/ext/opcache/tests/ |
H A D | issue0140.phpt | 17 var_dump(is_readable(FILENAME)); 24 var_dump(is_readable(FILENAME)); 31 var_dump(is_readable(FILENAME));
|
/PHP-7.4/ext/zlib/tests/ |
H A D | zlib_scheme_stat_basic2.phpt | 19 echo "is_readable="; 20 var_dump(is_readable($srcFile)); 35 is_readable=bool(false)
|
/PHP-7.4/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_bug71103.phpt | 2 Bug #71103 file_exists and is_readable fail silently 31 is_readable($f), 32 is_readable($foo_obj),
|
/PHP-7.4/ext/phar/tests/ |
H A D | stat.phpt | 45 echo "is_readable\n"; 46 var_dump(is_readable("dir/file1.txt")); 208 is_readable
|
/PHP-7.4/ext/standard/ |
H A D | php_filestat.h | 38 PHP_FUNCTION(is_readable);
|
/PHP-7.4/ext/standard/tests/file/windows_links/ |
H A D | bug48746.phpt | 37 var_dump(is_readable("mklink_junction"));
|
H A D | bug73962.phpt | 30 var_dump(is_readable("$fullpath\\mnt\\test\\mklink_symlink\b.php"));
|
/PHP-7.4/TSRM/ |
H A D | tsrm_win32.c | 292 fAccess = bucket->is_readable; in tsrm_win32_access() 304 fAccess = bucket->is_readable; in tsrm_win32_access() 310 fAccess = bucket->is_readable & bucket->is_writable; in tsrm_win32_access() 341 bucket->is_readable = fAccess; in tsrm_win32_access() 348 bucket->is_readable = fAccess; in tsrm_win32_access()
|
/PHP-7.4/scripts/dev/ |
H A D | check_parameters.php | 367 if (!is_readable($dir)) {
|
Completed in 90 milliseconds
12