Define :
In this tutorial we have to learned about PHP realpath() Function.The php-realpath-function is inbuilt function.This function is used to returns absolute pathname.The function expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input path and returns the canonicalized absolute pathname.
realpath(path)
Given below example return the path of "hello.txt" file :
Output : C:\xampp\htdocs\php\PHP File System\hello.txt