get_name
get_name($path); - this function is used to get the file name ('header.extension')
the input Function accepts parameters:
$path – path to the file to get the name of (string). It can be either absolute or relative (relative to the script folder).
After testing, the function returns the result of its work to the script :
name – the name of the specified file (string) ('header.extension')false – there is no such file (boolean)