DirectoryIterator::getBasename vs DirectoryIterator::getFilename

使用无参数调用时, getBaseNamegetFilename之间是否有区别?


As far as I know there is no difference except that getBaseName has a single parameter to cut suffix's of the file name. No significant difference. Although the Base suggest something more - I am quite sure it points to being able to cut things off at the end and nothing more.

链接地址: http://www.djcxy.com/p/10494.html

上一篇: 理解.Net COM Interop中的IEnumerable

下一篇: DirectoryIterator :: getBasename与DirectoryIterator :: getFilename