Home
last modified time | relevance | path

Searched refs:fileperms (Results 1 – 25 of 42) sorted by relevance

12

/PHP-8.0/ext/standard/tests/file/
H A Dfileperms_variation2.phpt2 Test fileperms() function: usage variations - invalid filenames
9 /* Testing fileperms() with invalid arguments -int, float, bool, NULL, resource */
30 var_dump( fileperms($filename) );
42 Warning: fileperms(): stat failed for -2.34555 in %s on line %d
45 Warning: fileperms(): stat failed for in %s on line %d
49 Warning: fileperms(): stat failed for 1 in %s on line %d
54 Warning: fileperms(): stat failed for 1234 in %s on line %d
57 Warning: fileperms(): stat failed for 0 in %s on line %d
H A Dfileperms_variation3.phpt2 Test fileperms() function: usage variations - diff. path notations
11 echo "*** Testing fileperms() with different notations of file names ***\n";
27 "fileperms_variation3/fileperms*.tmp",
39 var_dump( fileperms( $file_path."/".$file ) );
57 *** Testing fileperms() with different notations of file names ***
62 Warning: fileperms(): stat failed for %s//fileperms_variation3/fileperms_variation3.tmp/ in %s on l…
70 Warning: fileperms(): stat failed for %s//fileperms_variation3/*.tmp in %s on line %d
74 Warning: fileperms(): stat failed for %s/fileperms_variation3/fileperms*.tmp in %s on line %d
78 Warning: fileperms(): Filename contains null byte in %s on line %d
82 Warning: fileperms(): Filename contains null byte in %s on line %d
H A D006_error.phpt2 Test fileperms(), chmod() functions: error conditions
12 echo "*** Testing error conditions for fileperms(), chmod() ***\n";
16 printf("%o", fileperms("/etc/passwd") );
21 printf("%o", fileperms("/etc") );
27 var_dump( fileperms("/no/such/file/dir") );
37 *** Testing error conditions for fileperms(), chmod() ***
50 Warning: fileperms(): stat failed for /no/such/file/dir in %s on line %d
H A Dfileperms_variation1.phpt2 Test fileperms() function: usage variations - links
13 /* Creating soft and hard links to a file and applying fileperms() on links */
18 echo "*** Testing fileperms() with links ***\n";
21 var_dump( fileperms($file_path."/fileperms_variation1_symlink.tmp") ); //expected true
26 var_dump( fileperms($file_path."/fileperms_variation1_link.tmp") ); // expected: true
39 *** Testing fileperms() with links ***
H A D006_basic.phpt2 Test fileperms() & chmod() functions: basic functionality
14 echo "*** Testing fileperms(), chmod() with files and dirs ***\n";
17 printf("%o", fileperms($path."/perm.tmp") );
23 printf("%o", fileperms($path."/perm") );
35 *** Testing fileperms(), chmod() with files and dirs ***
H A D006_variation2.phpt2 Test fileperms() & chmod() functions: usage variation - misc. perms
14 echo "*** Testing fileperms() & chmod() : usage variations ***\n";
22 echo "\n*** Testing fileperms(), chmod() with miscellaneous permissions ***\n";
54 printf("%o", fileperms($file_name) );
63 printf("%o", fileperms($dir_name) );
81 *** Testing fileperms() & chmod() : usage variations ***
83 *** Testing fileperms(), chmod() with miscellaneous permissions ***
H A Dchmod_variation2.phpt28 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
34 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
42 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
50 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
57 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
H A Dchmod_variation2-win32-mb.phpt28 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
34 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
41 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
48 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
H A Dchmod_variation2-win32.phpt28 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
34 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
41 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
48 printf("%o\n", fileperms($filepath) & PERMISSIONS_MASK);
H A Dcopy_basic.phpt21 printf( "%o", fileperms(__FILE__) );
23 printf( "%o", fileperms($file_name1) );
25 printf( "%o", fileperms($file_name2) );
H A Dchmod_basic.phpt21 $set_perms = (fileperms($filename) & MODE_MASK);
H A Dchmod_variation1.phpt19 $set_perms = (fileperms($dirname) & PERMISSIONS_MASK);
H A Dcopy_variation15.phpt24 $old_perms = fileperms($dir);
H A Dtempnam_variation3-win32.phpt80 printf("%o\n", fileperms($file_name) );
H A Dtempnam_variation1-win32-mb.phpt27 printf("%o", fileperms($files[$i]) );
H A Dtempnam_variation1-win32.phpt27 printf("%o", fileperms($files[$i]) );
H A Dtempnam_variation3.phpt52 printf("%o", fileperms($file_name) );
H A D001-win32-mb.phpt48 printf ("$fname permissions are 0%o\n", 0777 & fileperms($fname));
/PHP-8.0/tests/security/
H A Dopen_basedir_fileperms.phpt8 test_open_basedir("fileperms");
16 *** Testing open_basedir configuration [fileperms] ***
23 Warning: fileperms(): open_basedir restriction in effect. File(../bad) is not within the allowed pa…
26 Warning: fileperms(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the al…
29 Warning: fileperms(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: fileperms(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: fileperms(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 Warning: fileperms(): open_basedir restriction in effect. File(../bad/.) is not within the allowed …
41 Warning: fileperms(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t…
47 Warning: fileperms(): open_basedir restriction in effect. File(./../.) is not within the allowed pa…
[all …]
/PHP-8.0/ext/phar/tests/cache_list/files/
H A Dwrite18.phar3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
H A Dwrite18.phar.inc9 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
11 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
/PHP-8.0/ext/phar/tests/
H A Dstat.phpt23 echo "fileperms\n";
24 var_dump(fileperms("dir/file1.txt"));
60 var_dump(fileperms("not/found"));
185 fileperms
223 Warning: fileperms(): stat failed for not/found in phar://%sstat.phar.php/my/index.php on line %d
/PHP-8.0/ext/session/tests/
H A Dbug42596.phpt29 var_dump(decoct(fileperms($sessfile)));
/PHP-8.0/ext/phar/tests/tar/
H A Dall.phpt34 var_dump((string) decoct(fileperms($pname2 . '/b')));
/PHP-8.0/ext/phar/tests/zip/
H A Dall.phpt39 var_dump((string) decoct(fileperms($pname2 . '/b')));

Completed in 63 milliseconds

12