Convert MIME type to file Extension PHP

stackoverflow.com

 

github.com