DirectoryIterator :: getBasename vs DirectoryIterator :: getFilename

Is there any difference between getBaseName and getFilename when called without arguments?

+7
source share
1 answer

As far as I know, it does not matter , except that getBaseName has a single parameter for the suffix of the file name. No significant difference. Although Base offers something more - I'm pretty sure that it indicates that it can cut things off at the end and nothing more.

+3
source

All Articles