DirectoryIterator::getBasename

DirectoryIterator::getBasename

(PHP 5 >= 5.2.2, PHP 7)

DirectoryIterator::getBasenameGet base name of current DirectoryIterator item.

Description

public string DirectoryIterator::getBasename ([  string $suffix  ] )

Get the base name of the current DirectoryIterator item.

Parameters

suffix

If the base name ends in suffix登录查看完整内容