(PHP 4, PHP 5, PHP 7)
Returns trailing name component of path
string basename ( string $path [, string $suffix ] )
Given a string containing the path to a file or directory, this function will return the trailing name component.
Parameters:
path
A path.
On Windows, both slash (/) and backslash (\) are used as directory separator character. In other environments, it is t