Home
last modified time | relevance | path

Searched refs:is_readable (Results 1 – 25 of 34) sorted by relevance

12

/PHP-7.0/ext/standard/tests/file/
H A Dis_readable_error.phpt2 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(dirname(__FILE__)."/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 Dis_readable_variation3.phpt2 Test is_readable() function: usage variations - invalid file names
20 /* Prototype: bool is_readable ( string $filename );
26 echo "*** Testing is_readable(): usage variations ***\n";
31 echo "\n*** Testing is_readable() on miscelleneous filenames ***\n";
46 var_dump( is_readable($misc_file) );
53 *** Testing is_readable(): usage variations ***
55 *** Testing is_readable() on miscelleneous filenames ***
64 Warning: is_readable() expects parameter 1 to be a valid path, array given in %s on line %d
H A Dis_readable_variation1.phpt2 Test is_readable() function: usage variations - diff. file notations
19 /* Prototype: bool is_readable ( string $filename );
23 /* test is_readable() with file having different filepath notation */
26 echo "*** Testing is_readable(): usage variations ***\n";
36 is_readable() function */
63 var_dump( is_readable($file) );
76 *** Testing is_readable(): usage variations ***
91 Warning: is_readable() expects parameter 1 to be a valid path, string given in %s on line %d
95 Warning: is_readable() expects parameter 1 to be a valid path, string given in %s on line %d
99 Warning: is_readable() expects parameter 1 to be a valid path, string given in %s on line %d
H A Dis_readable_variation2.phpt2 Test is_readable() function: usage variations - file/dir with diff. perms
20 /* Prototype: bool is_readable ( string $filename );
27 echo "*** Testing is_readable(): usage variations ***\n";
32 echo "\n*** Testing is_readable() on directory without read permission ***\n";
34 var_dump( is_readable("$file_path/is_readable_variation2") ); // exp: bool(false)
37 echo "\n*** Testing miscelleneous input for is_readable() function ***\n";
67 var_dump( is_readable($file) );
83 *** Testing is_readable(): usage variations ***
85 *** Testing is_readable() on directory without read permission ***
88 *** Testing miscelleneous input for is_readable() function ***
H A D003.phpt8 'is_readable',
H A Drealpath_cache_win32.phpt33 ["is_readable"]=>
H A D001-win32.phpt52 if (is_readable('test.file')) {
H A Dis_readable_basic-win32.phpt2 Test is_readable() function: basic functionality
11 /* Prototype: bool is_readable ( string $filename );
18 echo "*** Testing is_readable(): basic functionality ***\n";
21 $filename = dirname(__FILE__)."/is_readable.tmp";
26 using is_readable() */
30 var_dump( is_readable($filename) );
41 *** Testing is_readable(): basic functionality ***
H A Dis_readable_basic.phpt2 Test is_readable() function: basic functionality
21 /* Prototype: bool is_readable ( string $filename );
28 echo "*** Testing is_readable(): basic functionality ***\n";
31 $filename = dirname(__FILE__)."/is_readable.tmp";
36 using is_readable() */
40 var_dump( is_readable($filename) );
51 *** Testing is_readable(): basic functionality ***
/PHP-7.0/tests/security/
H A Dopen_basedir_is_readable.phpt8 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 Dopen_basedir.inc32 if (is_readable($directory) == FALSE) {
/PHP-7.0/ext/standard/tests/file/windows_acls/
H A Dbug44859_2.phpt2 bug #44859 (incorrect result with NTFS ACL permissions, is_readable)
27 if (is_readable($path) == $exp) {
30 var_dump(is_readable($path), $exp);
43 if (is_readable($path) == $exp) {
46 var_dump(is_readable($path), $exp);
H A Dbug44859_4.phpt2 bug #44859 (incorrect result with NTFS ACL permissions, is_readable)
29 if (is_readable($path) == $exp) {
32 var_dump(is_readable($path), $exp);
45 if (is_readable($path) == $exp) {
48 var_dump(is_readable($path), $exp);
H A Dcommon.inc110 Required to set no permission and check that is_readable()
/PHP-7.0/ext/opcache/tests/
H A Dissue0140.phpt16 var_dump(is_readable(FILENAME));
23 var_dump(is_readable(FILENAME));
30 var_dump(is_readable(FILENAME));
/PHP-7.0/ext/zlib/tests/
H A Dzlib_scheme_stat_basic2.phpt19 echo "is_readable=";
20 var_dump(is_readable($srcFile));
35 is_readable=bool(false)
/PHP-7.0/ext/standard/tests/misc/
H A Dbug65550.phpt7 if (!is_readable(ini_get('browscap'))) die('skip browscap.ini file ' . ini_get('browscap') . ' not …
H A Dget_browser_variation2.phpt11 if(! is_readable( ini_get( 'browscap' ) ) ) {
H A Dget_browser_error.phpt11 if(! is_readable( ini_get( 'browscap' ) ) ) {
/PHP-7.0/ext/phar/tests/
H A Dstat.phpt45 echo "is_readable\n";
46 var_dump(is_readable("dir/file1.txt"));
208 is_readable
/PHP-7.0/ext/standard/
H A Dphp_filestat.h40 PHP_FUNCTION(is_readable);
/PHP-7.0/ext/standard/tests/file/windows_links/
H A Dbug48746.phpt39 var_dump(is_readable("mklink_junction"));
/PHP-7.0/TSRM/
H A Dtsrm_win32.c299 fAccess = bucket->is_readable; in tsrm_win32_access()
311 fAccess = bucket->is_readable; in tsrm_win32_access()
317 fAccess = bucket->is_readable & bucket->is_writable; in tsrm_win32_access()
348 bucket->is_readable = fAccess; in tsrm_win32_access()
355 bucket->is_readable = fAccess; in tsrm_win32_access()
/PHP-7.0/scripts/dev/
H A Dcheck_parameters.php369 if (!is_readable($dir)) {
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_pam_sha256_public_key_option.phpt95 if (file_exists($file) && is_readable($file)) {

Completed in 45 milliseconds

12