Searched refs:fileinode (Results 1 – 14 of 14) sorted by relevance
2 Test fileinode() function: Error conditions5 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 %d21 Warning: fileinode(): stat failed for string in %s on line %d24 Warning: fileinode(): stat failed for 100 in %s on line %d
2 Test fileinode() function: Variations25 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 …]
2 Test fileinode() function: Basic functionality5 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 ***
2 Test fileinode() function: usage variations - invalid filenames9 /* 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 %d45 Warning: fileinode(): stat failed for in %s on line %d49 Warning: fileinode(): stat failed for 1 in %s on line %d54 Warning: fileinode(): stat failed for 1234 in %s on line %d57 Warning: fileinode(): stat failed for 0 in %s on line %d
2 Test fileinode() function: usage variations - diff. path notations11 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 %d74 Warning: fileinode(): stat failed for %s/fileinode_variation3/fileinode*.tmp in %s on line %d78 Warning: fileinode(): Filename contains null byte in %s on line %d82 Warning: fileinode(): Filename contains null byte in %s on line %d
2 Test fileinode() function: usage variations - links12 /* 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 true25 var_dump( fileinode($file_path."/fileinode_variation1_link.tmp") ); // expected: true38 *** Testing fileinode() with links ***
6 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
32 print_r( fileinode($files[$i]) ); //checking inodes
8 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 …]
25 echo "fileinode\n";26 var_dump(fileinode("dir/file1.txt"));187 fileinode
1014 PHAR_INTERCEPT(fileinode); in phar_intercept_functions_init()1050 PHAR_RELEASE(fileinode); in phar_intercept_functions_shutdown()
973 FileFunction(PHP_FN(fileinode), FS_INODE) in FileFunction()
877 function fileinode(string $filename): int|false {} function
2580 ZEND_FUNCTION(fileinode);3218 ZEND_FE(fileinode, arginfo_fileinode)
Completed in 43 milliseconds