strtolower(pathinfo(abs.php,PATHINFO_EXTENSION));
Lowercase return extension through pathinfo
The pathinfo () function returns the file path information in the form of an array.
pathinfo (path, options) path: To check the specified path.
options: Optional. The provisions of the array elements to return. The default is all.
Possible values:
PATHINFO_DIRNAME - returns only the directory name dirname
PATHINFO_BASENAME - only to return to the basic name basename
PATHINFO_EXTENSION - return only extension extension