php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/standard/tests/file/ |
files >> //php-7.1.11/ext/standard/tests/file/fileinode_basic.phpt |
--TEST-- Test fileinode() function: Basic functionality --FILE-- <?php /* Prototype: int fileinode ( string $filename ); Description: Returns the inode number of the file, or FALSE in case of an error. */ echo "*** Testing fileinode() with file, directory ***\n"; /* Getting inode of created file */ $file_path = dirname(__FILE__); 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 (dirname(__FILE__)."/inode.tmp"); ?> --EXPECTF-- *** Testing fileinode() with file, directory *** %d %d %d %d *** Done ***y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`