/PHP-7.2/ext/standard/tests/file/ |
H A D | fileperms_variation2.phpt | 2 Test fileperms() function: usage variations - invalid filenames 7 /* Prototype: int fileperms ( string $filename ) 11 /* Testing fileperms() with invalid arguments -int, float, bool, NULL, resource */ 34 var_dump( fileperms($filename) ); 49 Warning: fileperms(): stat failed for -2.34555 in %s on line %d 52 Warning: fileperms(): stat failed for in %s on line %d 56 Warning: fileperms(): stat failed for 1 in %s on line %d 61 Warning: fileperms() expects parameter 1 to be a valid path, resource given in %s on line %d 64 Warning: fileperms(): stat failed for 1234 in %s on line %d 67 Warning: fileperms(): stat failed for 0 in %s on line %d
|
H A D | fileperms_variation3.phpt | 2 Test fileperms() function: usage variations - diff. path notations 7 /* Prototype: int fileperms ( string $filename ) 15 echo "*** Testing fileperms() with different notations of file names ***\n"; 31 "fileperms_variation3/fileperms*.tmp", 42 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() expects parameter 1 to be a valid path, string given in %s on line %d [all …]
|
H A D | 006_error.phpt | 2 Test fileperms(), chmod() functions: error conditions 23 Prototype: int fileperms ( string $filename ) 31 echo "*** Testing error conditions for fileperms(), chmod() ***\n"; 35 printf("%o", fileperms("/etc/passwd") ); 40 printf("%o", fileperms("/etc") ); 46 var_dump( fileperms("/no/such/file/dir") ); 55 var_dump( fileperms() ); 59 var_dump( fileperms(dirname(__FILE__)."/006_error.tmp", 0777) ); 60 var_dump( fileperms("nofile", 0777) ); 69 *** Testing error conditions for fileperms(), chmod() *** [all …]
|
H A D | fileperms_variation1.phpt | 2 Test fileperms() function: usage variations - links 12 /* Prototype: int fileperms ( string $filename ) 16 /* Creating soft and hard links to a file and applying fileperms() on links */ 21 echo "*** Testing fileperms() with links ***\n"; 24 var_dump( fileperms($file_path."/fileperms_variation1_symlink.tmp") ); //expected true 29 var_dump( fileperms($file_path."/fileperms_variation1_link.tmp") ); // expected: true 42 *** Testing fileperms() with links ***
|
H A D | 006_basic.phpt | 2 Test fileperms() & chmod() functions: basic functionality 23 Prototype: int fileperms ( string $filename ); 32 echo "*** Testing fileperms(), chmod() with files and dirs ***\n"; 35 printf("%o", fileperms($path."/perm.tmp") ); 41 printf("%o", fileperms($path."/perm") ); 53 *** Testing fileperms(), chmod() with files and dirs ***
|
H A D | chmod_variation2.phpt | 28 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 D | chmod_variation2-win32-mb.phpt | 28 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 D | chmod_variation2-win32.phpt | 28 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 D | 006_variation2.phpt | 2 Test fileperms() & chmod() functions: usage variation - misc. perms 23 Prototype: int fileperms ( string $filename ); 33 echo "*** Testing fileperms() & chmod() : usage variations ***\n"; 41 echo "\n*** Testing fileperms(), chmod() with miscellaneous permissions ***\n"; 72 printf("%o", fileperms($file_name) ); 77 printf("%o", fileperms($dir_name) ); 92 *** Testing fileperms() & chmod() : usage variations *** 94 *** Testing fileperms(), chmod() with miscellaneous permissions ***
|
H A D | copy_basic.phpt | 26 printf( "%o", fileperms(__FILE__) ); 28 printf( "%o", fileperms($file_name1) ); 30 printf( "%o", fileperms($file_name2) );
|
H A D | chmod_basic.phpt | 21 $set_perms = (fileperms($filename) & MODE_MASK);
|
H A D | chmod_variation1.phpt | 19 $set_perms = (fileperms($dirname) & PERMISSIONS_MASK);
|
H A D | copy_variation15.phpt | 37 $old_perms = fileperms($dir);
|
H A D | tempnam_variation3-win32.phpt | 77 printf("%o\n", fileperms($file_name) );
|
H A D | 001-win32-mb.phpt | 48 printf ("$fname permissions are 0%o\n", 0777 & fileperms($fname));
|
H A D | tempnam_variation1-win32-mb.phpt | 31 printf("%o", fileperms($files[$i]) );
|
H A D | tempnam_variation1-win32.phpt | 31 printf("%o", fileperms($files[$i]) );
|
/PHP-7.2/tests/security/ |
H A D | open_basedir_fileperms.phpt | 8 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-7.2/ext/phar/tests/cache_list/files/ |
H A D | write18.phar | 3 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 5 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
|
H A D | write18.phar.inc | 9 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n"; 11 echo decoct(fileperms("phar://" . __FILE__ . "/test.txt")),"\n";
|
/PHP-7.2/ext/phar/tests/ |
H A D | stat.phpt | 23 echo "fileperms\n"; 24 var_dump(fileperms("dir/file1.txt")); 60 var_dump(fileperms("not/found")); 186 fileperms 224 Warning: fileperms(): stat failed for not/found in phar://%sstat.phar.php/my/index.php on line %d
|
/PHP-7.2/ext/session/tests/ |
H A D | bug42596.phpt | 29 var_dump(decoct(fileperms($sessfile)));
|
/PHP-7.2/ext/standard/ |
H A D | php_filestat.h | 36 PHP_FUNCTION(fileperms);
|
/PHP-7.2/ext/phar/tests/tar/ |
H A D | all.phpt | 37 var_dump((string) decoct(fileperms($pname2 . '/b')));
|
/PHP-7.2/ext/phar/tests/zip/ |
H A D | all.phpt | 40 var_dump((string) decoct(fileperms($pname2 . '/b')));
|