Yo!! à tous

Est-il possible avec PHP de récupérer l'extension d'un fichier.
Par exemple si on a une liste:
fichier1.html
fichier2.html
fichier3.htm
fichier4.php

On récupère php, html, ou htm.

On pourrait faire un substring, mais je voudrais un truc plus propre.

merci