Home
last modified time | relevance | path

Searched refs:fileinode (Results 1 – 14 of 14) sorted by relevance

/PHP-8.0/ext/standard/tests/file/
H A Dfileinode_error.phpt2 Test fileinode() function: Error conditions
5 echo "*** Testing error conditions of fileinode() ***";
8 var_dump( fileinode("/no/such/file/dir") );
11 var_dump( fileinode("string") );
12 var_dump( fileinode(100) );
17 *** Testing error conditions of fileinode() ***
18 Warning: fileinode(): stat failed for /no/such/file/dir in %s on line %d
21 Warning: fileinode(): stat failed for string in %s on line %d
24 Warning: fileinode(): stat failed for 100 in %s on line %d
H A Dfileinode_variation.phpt2 Test fileinode() function: Variations
25 print( fileinode( $file1) )."\n";
26 print( fileinode( $file2) )."\n";
31 print( fileinode( $file1) )."\n";
33 print( fileinode( $link1) )."\n";
38 print( fileinode( $file2) )."\n";
40 print( fileinode( $link2) )."\n";
47 print( fileinode( $file1) )."\n";
68 print( fileinode("$file_path/dir") )."\n";
76 print( fileinode(b"$file_path/dir") )."\n";
[all …]
H A Dfileinode_basic.phpt2 Test fileinode() function: Basic functionality
5 echo "*** Testing fileinode() with file, directory ***\n";
10 print( fileinode("$file_path/inode.tmp") )."\n";
13 print( fileinode(__FILE__) )."\n";
16 print( fileinode(".") )."\n";
17 print( fileinode("./..") )."\n";
25 *** Testing fileinode() with file, directory ***
H A Dfileinode_variation2.phpt2 Test fileinode() function: usage variations - invalid filenames
9 /* Testing fileinode() with invalid arguments -int, float, bool, NULL, resource */
30 var_dump( fileinode($filename) );
42 Warning: fileinode(): stat failed for -2.34555 in %s on line %d
45 Warning: fileinode(): stat failed for in %s on line %d
49 Warning: fileinode(): stat failed for 1 in %s on line %d
54 Warning: fileinode(): stat failed for 1234 in %s on line %d
57 Warning: fileinode(): stat failed for 0 in %s on line %d
H A Dfileinode_variation3.phpt2 Test fileinode() function: usage variations - diff. path notations
11 echo "*** Testing fileinode() with different notations of file names ***\n";
27 "fileinode_variation3/fileinode*.tmp",
39 var_dump( fileinode( $file_path."/".$file ) );
57 *** Testing fileinode() with different notations of file names ***
62 Warning: fileinode(): stat failed for %s//fileinode_variation3/fileinode_variation3.tmp/ in %s on l…
70 Warning: fileinode(): stat failed for %s//fileinode_variation3/*.tmp in %s on line %d
74 Warning: fileinode(): stat failed for %s/fileinode_variation3/fileinode*.tmp in %s on line %d
78 Warning: fileinode(): Filename contains null byte in %s on line %d
82 Warning: fileinode(): Filename contains null byte in %s on line %d
H A Dfileinode_variation1.phpt2 Test fileinode() function: usage variations - links
12 /* Creating soft and hard links to a file and applying fileinode() on links */
17 echo "*** Testing fileinode() with links ***\n";
20 var_dump( fileinode($file_path."/fileinode_variation1_symlink.tmp") ); //expected true
25 var_dump( fileinode($file_path."/fileinode_variation1_link.tmp") ); // expected: true
38 *** Testing fileinode() with links ***
H A Dfilestat.phpt6 var_dump(fileinode("."));
12 var_dump(fileinode("./.."));
18 var_dump(fileinode(__FILE__));
24 var_dump(fileinode("/no/such/file/or/dir"));
49 Warning: fileinode(): stat failed for /no/such/file/or/dir in %s on line %d
H A Dtempnam_variation1.phpt32 print_r( fileinode($files[$i]) ); //checking inodes
/PHP-8.0/tests/security/
H A Dopen_basedir_fileinode.phpt8 test_open_basedir("fileinode");
16 *** Testing open_basedir configuration [fileinode] ***
23 Warning: fileinode(): open_basedir restriction in effect. File(../bad) is not within the allowed pa…
26 Warning: fileinode(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the al…
29 Warning: fileinode(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: fileinode(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 Warning: fileinode(): open_basedir restriction in effect. File(../bad/.) is not within the allowed …
41 Warning: fileinode(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within t…
47 Warning: fileinode(): open_basedir restriction in effect. File(./../.) is not within the allowed pa…
[all …]
/PHP-8.0/ext/phar/tests/
H A Dstat.phpt25 echo "fileinode\n";
26 var_dump(fileinode("dir/file1.txt"));
187 fileinode
/PHP-8.0/ext/phar/
H A Dfunc_interceptors.c1014 PHAR_INTERCEPT(fileinode); in phar_intercept_functions_init()
1050 PHAR_RELEASE(fileinode); in phar_intercept_functions_shutdown()
/PHP-8.0/ext/standard/
H A Dfilestat.c973 FileFunction(PHP_FN(fileinode), FS_INODE) in FileFunction()
H A Dbasic_functions.stub.php877 function fileinode(string $filename): int|false {} function
H A Dbasic_functions_arginfo.h2580 ZEND_FUNCTION(fileinode);
3218 ZEND_FE(fileinode, arginfo_fileinode)

Completed in 43 milliseconds