Last active
December 14, 2015 22:28
-
-
Save galen/5158100 to your computer and use it in GitHub Desktop.
Easy way to get a file's extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pathinfo( $file, PATHINFO_EXTENSION ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment