Searched refs:fileowner (Results 1 – 18 of 18) sorted by relevance
2 Test of fileowner() function: error conditions6 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 %d22 Warning: fileowner(): stat failed for string in %s on line %d25 Warning: fileowner(): stat failed for 100 in %s on line %d
2 Test fileowner() function: basic functionality5 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 ***
2 Test fileowner() function: usage variations - invalid filenames10 /* 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 %d45 Warning: fileowner(): stat failed for in %s on line %d49 Warning: fileowner(): stat failed for 1 in %s on line %d53 Warning: fileowner(): stat failed for 1234 in %s on line %d56 Warning: fileowner(): stat failed for 0 in %s on line %d
2 Test fileowner() function: usage variations - diff. path notations12 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 %d75 Warning: fileowner(): stat failed for %s/fileowner_variation3/fileowner*.tmp in %s on line %d79 Warning: fileowner(): Filename contains null byte in %s on line %d83 Warning: fileowner(): Filename contains null byte in %s on line %d
2 Test fileowner() function: usage variations - links13 /* 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 true26 var_dump( fileowner($file_path."/fileowner_variation1_link.tmp") ); // expected: true39 *** Testing fileowner() with links ***
7 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
19 var_dump( fileowner( $symlink ) === $uid );
8 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 …]
9 $isRoot = fileowner($filename) == 0;
16 $expected = fileowner($filename);
22 $expected = fileowner($dirname);
35 echo "fileowner\n";36 var_dump(fileowner("dir/file1.txt"));197 fileowner
11 if (fileowner($filename) == 0) {
14 if (fileowner($filename) == 0) {
1016 PHAR_INTERCEPT(fileowner); in phar_intercept_functions_init()1052 PHAR_RELEASE(fileowner); in phar_intercept_functions_shutdown()
1034 FileFunction(PHP_FN(fileowner), FS_OWNER) in FileFunction()
1189 function fileowner(string $filename): int|false {} function
2594 ZEND_FUNCTION(fileowner);3235 ZEND_FE(fileowner, arginfo_fileowner)
Completed in 44 milliseconds