Method: f::extension
Gets the extension of a file
Info
Syntax
f::extension($filename)
Parameters
- $file (string) The filename or path
Return (string)
Example
$extension = f::extension('test.txt');
// extension is txt
Gets the extension of a file
f::extension($filename)
$extension = f::extension('test.txt');
// extension is txt