Searched refs:filegroup (Results 1 – 15 of 15) sorted by relevance
2 Test filegroup() function: error conditions6 echo "*** Testing filegroup(): error conditions ***\n";9 var_dump( filegroup("/no/such/file/dir") );12 var_dump( filegroup("string") );13 var_dump( filegroup(100) );18 *** Testing filegroup(): error conditions ***20 Warning: filegroup(): stat failed for /no/such/file/dir in %s on line %d23 Warning: filegroup(): stat failed for string in %s on line %d26 Warning: filegroup(): stat failed for 100 in %s on line %d
2 Test filegroup() function: basic functionality12 echo "*** Testing filegroup(): basic functionality ***\n";17 var_dump( filegroup(__FILE__) );18 var_dump( filegroup(".") );19 var_dump( filegroup("./..") );27 var_dump( filegroup($file_name) );32 var_dump( filegroup($dir_name) );35 var_dump( filegroup("/etc/passwd") );36 var_dump( filegroup("/etc") );37 var_dump( filegroup("/") );[all …]
2 Test filegroup() function: usage variations - invalid filenames9 /* Testing filegroup() with invalid arguments -int, float, bool, NULL, resource */30 var_dump( filegroup($filename) );42 Warning: filegroup(): stat failed for -2.34555 in %s on line %d45 Warning: filegroup(): stat failed for in %s on line %d49 Warning: filegroup(): stat failed for 1 in %s on line %d54 Warning: filegroup(): stat failed for 1234 in %s on line %d57 Warning: filegroup(): stat failed for 0 in %s on line %d
2 Test filegroup() function: usage variations - diff. path notations12 echo "*** Testing filegroup() with different notations of file names ***\n";28 "filegroup_variation3/filegroup*.tmp",40 var_dump( filegroup( $file_path."/".$file ) );58 *** Testing filegroup() with different notations of file names ***63 Warning: filegroup(): stat failed for %s//filegroup_variation3/filegroup_variation3.tmp/ in %s on l…71 Warning: filegroup(): stat failed for %s//filegroup_variation3/*.tmp in %s on line %d75 Warning: filegroup(): stat failed for %s/filegroup_variation3/filegroup*.tmp in %s on line %d79 Warning: filegroup(): Filename contains null byte in %s on line %d83 Warning: filegroup(): Filename contains null byte in %s on line %d
2 Test filegroup() function: usage variations - links12 /* Creating soft and hard links to a file and applying filegroup() on links */17 echo "*** Testing filegroup() with links ***\n";20 var_dump( filegroup($file_path."/filegroup_variation1_symlink.tmp") ); //expected true25 var_dump( filegroup($file_path."/filegroup_variation1_link.tmp") ); // expected: true38 *** Testing filegroup() with links ***
8 var_dump(filegroup("."));14 var_dump(filegroup("./.."));20 var_dump(filegroup(__FILE__));26 var_dump(filegroup("/no/such/file/or/dir"));55 Warning: filegroup(): stat failed for /no/such/file/or/dir in %s on line %d
18 var_dump( filegroup( $symlink ) === $gid );
8 test_open_basedir("filegroup");16 *** Testing open_basedir configuration [filegroup] ***23 Warning: filegroup(): open_basedir restriction in effect. File(../bad) is not within the allowed pa…26 Warning: filegroup(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the al…29 Warning: filegroup(): open_basedir restriction in effect. File(..) is not within the allowed path(s…32 Warning: filegroup(): open_basedir restriction in effect. File(../) is not within the allowed path(…35 Warning: filegroup(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…38 Warning: filegroup(): open_basedir restriction in effect. File(../bad/.) is not within the allowed …41 Warning: filegroup(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t…47 Warning: filegroup(): open_basedir restriction in effect. File(./../.) is not within the allowed pa…[all …]
16 $expected = filegroup($filename);
20 $expected = filegroup($dirname);
31 echo "filegroup\n";32 var_dump(filegroup("dir/file1.txt"));193 filegroup
1017 PHAR_INTERCEPT(filegroup); in phar_intercept_functions_init()1053 PHAR_RELEASE(filegroup); in phar_intercept_functions_shutdown()
985 FileFunction(PHP_FN(filegroup), FS_GROUP) in FileFunction()
875 function filegroup(string $filename): int|false {} function
2579 ZEND_FUNCTION(filegroup);3217 ZEND_FE(filegroup, arginfo_filegroup)
Completed in 61 milliseconds