Home
last modified time | relevance | path

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

/PHP-8.1/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 */
29 var_dump( fileinode($filename) );
41 Warning: fileinode(): stat failed for -2.34555 in %s on line %d
44 Warning: fileinode(): stat failed for in %s on line %d
48 Warning: fileinode(): stat failed for 1 in %s on line %d
52 Warning: fileinode(): stat failed for 1234 in %s on line %d
55 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.1/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.1/ext/phar/tests/
H A Dstat.phpt31 echo "fileinode\n";
32 var_dump(fileinode("dir/file1.txt"));
193 fileinode
/PHP-8.1/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.1/ext/standard/
H A Dfilestat.c1026 FileFunction(PHP_FN(fileinode), FS_INODE) in FileFunction()
H A Dbasic_functions.stub.php1185 function fileinode(string $filename): int|false {} function
H A Dbasic_functions_arginfo.h2592 ZEND_FUNCTION(fileinode);
3233 ZEND_FE(fileinode, arginfo_fileinode)

Completed in 60 milliseconds