dirname()
The dirname() function returns the directory name from a given path. This is useful for extracting the directory path from a file path.