Returns the file extension of a file
<? function file_extension($filename) { return pathinfo($filename, PATHINFO_EXTENSION); } ?>
string file_extension -> string
Rating: 0 / 5 (0 votes) 5271 views
Want to share your source code? Create your account and join our community!
Comments
Add your comment