/
proc
/
self
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
file
/
File Upload :
llllll
Current File: //proc/self/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/file/fileinode_basic.phpt
--TEST-- Test fileinode() function: Basic functionality --FILE-- <?php echo "*** Testing fileinode() with file, directory ***\n"; /* Getting inode of created file */ $file_path = __DIR__; fopen("$file_path/inode.tmp", "w"); print( fileinode("$file_path/inode.tmp") )."\n"; /* Getting inode of current file */ print( fileinode(__FILE__) )."\n"; /* Getting inode of directories */ print( fileinode(".") )."\n"; print( fileinode("./..") )."\n"; echo "\n*** Done ***"; --CLEAN-- <?php unlink (__DIR__."/inode.tmp"); ?> --EXPECTF-- *** Testing fileinode() with file, directory *** %i %i %i %i *** Done ***
Copyright ©2k19 -
Hexid
|
Tex7ure