PHP | SplFileInfo getPathname() Function
The SplFileInfo::getPathname() function is an inbuilt function of Standard PHP Library (SPL) in PHP which is used to get the path of file. Syntax: string SplFileInfo::getPathname( void ) Parameters: This function does not accept any parameter. Return Value: This function returns the path of the file