Home
last modified time | relevance | path

Searched refs:fileowner (Results 1 – 18 of 18) sorted by relevance

/PHP-8.1/ext/standard/tests/file/
H A Dfileowner_error.phpt2 Test of fileowner() function: error conditions
6 echo "*** Testing fileowner(): error conditions ***\n";
8 var_dump( fileowner("/no/such/file/dir") );
11 var_dump( fileowner("string") );
12 var_dump( fileowner(100) );
17 *** Testing fileowner(): error conditions ***
19 Warning: fileowner(): stat failed for /no/such/file/dir in %s on line %d
22 Warning: fileowner(): stat failed for string in %s on line %d
25 Warning: fileowner(): stat failed for 100 in %s on line %d
H A Dfileowner_basic.phpt2 Test fileowner() function: basic functionality
5 echo "*** Testing fileowner(): basic functionality ***\n";
8 var_dump( fileowner(__FILE__) );
9 var_dump( fileowner(".") );
10 var_dump( fileowner("./..") );
18 var_dump( fileowner($file_name) );
23 var_dump( fileowner($dir_name) );
36 *** Testing fileowner(): basic functionality ***
H A Dfileowner_variation2.phpt2 Test fileowner() function: usage variations - invalid filenames
10 /* Testing fileowner() with invalid arguments -int, float, bool, NULL, resource */
30 var_dump( fileowner($filename) );
42 Warning: fileowner(): stat failed for -2.34555 in %s on line %d
45 Warning: fileowner(): stat failed for in %s on line %d
49 Warning: fileowner(): stat failed for 1 in %s on line %d
53 Warning: fileowner(): stat failed for 1234 in %s on line %d
56 Warning: fileowner(): stat failed for 0 in %s on line %d
H A Dfileowner_variation3.phpt2 Test fileowner() function: usage variations - diff. path notations
12 echo "*** Testing fileowner() with different notations of file names ***\n";
28 "fileowner_variation3/fileowner*.tmp",
40 var_dump( fileowner( $file_path."/".$file ) );
58 *** Testing fileowner() with different notations of file names ***
63 Warning: fileowner(): stat failed for %s//fileowner_variation3/fileowner_variation3.tmp/ in %s on l…
71 Warning: fileowner(): stat failed for %s//fileowner_variation3/*.tmp in %s on line %d
75 Warning: fileowner(): stat failed for %s/fileowner_variation3/fileowner*.tmp in %s on line %d
79 Warning: fileowner(): Filename contains null byte in %s on line %d
83 Warning: fileowner(): Filename contains null byte in %s on line %d
H A Dfileowner_variation1.phpt2 Test fileowner() function: usage variations - links
13 /* Creating soft and hard links to a file and applying fileowner() on links */
18 echo "*** Testing fileowner() with links ***\n";
21 var_dump( fileowner($file_path."/fileowner_variation1_symlink.tmp") ); //expected true
26 var_dump( fileowner($file_path."/fileowner_variation1_link.tmp") ); // expected: true
39 *** Testing fileowner() with links ***
H A Dfilestat.phpt7 var_dump(fileowner("."));
13 var_dump(fileowner("./.."));
19 var_dump(fileowner(__FILE__));
25 var_dump(fileowner("/no/such/file/or/dir"));
52 Warning: fileowner(): stat failed for /no/such/file/or/dir in %s on line %d
H A Dlchown_basic.phpt19 var_dump( fileowner( $symlink ) === $uid );
/PHP-8.1/tests/security/
H A Dopen_basedir_fileowner.phpt8 test_open_basedir("fileowner");
16 *** Testing open_basedir configuration [fileowner] ***
23 Warning: fileowner(): open_basedir restriction in effect. File(../bad) is not within the allowed pa…
26 Warning: fileowner(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the al…
29 Warning: fileowner(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: fileowner(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: fileowner(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 Warning: fileowner(): open_basedir restriction in effect. File(../bad/.) is not within the allowed …
41 Warning: fileowner(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t…
47 Warning: fileowner(): open_basedir restriction in effect. File(./../.) is not within the allowed pa…
[all …]
/PHP-8.1/ext/standard/tests/
H A Dskipif_root.inc9 $isRoot = fileowner($filename) == 0;
/PHP-8.1/ext/spl/tests/
H A DSplFileInfo_getOwner_basic.phpt16 $expected = fileowner($filename);
H A DDirectoryIterator_getOwner_basic.phpt22 $expected = fileowner($dirname);
/PHP-8.1/ext/phar/tests/
H A Dstat.phpt35 echo "fileowner\n";
36 var_dump(fileowner("dir/file1.txt"));
197 fileowner
/PHP-8.1/ext/sockets/tests/
H A Dsocket_create_listen-nobind.phpt11 if (fileowner($filename) == 0) {
H A Dsocket_set_option_error_socket_option.phpt14 if (fileowner($filename) == 0) {
/PHP-8.1/ext/phar/
H A Dfunc_interceptors.c1016 PHAR_INTERCEPT(fileowner); in phar_intercept_functions_init()
1052 PHAR_RELEASE(fileowner); in phar_intercept_functions_shutdown()
/PHP-8.1/ext/standard/
H A Dfilestat.c1034 FileFunction(PHP_FN(fileowner), FS_OWNER) in FileFunction()
H A Dbasic_functions.stub.php1189 function fileowner(string $filename): int|false {} function
H A Dbasic_functions_arginfo.h2594 ZEND_FUNCTION(fileowner);
3235 ZEND_FE(fileowner, arginfo_fileowner)

Completed in 44 milliseconds