DirectoryIterator::getBasename vs DirectoryIterator::getFilename
使用无参数调用时, getBaseName
和getFilename
之间是否有区别?
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.
上一篇: 理解.Net COM Interop中的IEnumerable
下一篇: DirectoryIterator :: getBasename与DirectoryIterator :: getFilename