realpath()
The realpath() function returns the absolute path of a file or directory. This is useful for resolving relative paths.