look up any word, like space monkey:
 
1.
A PHP Function that finds the last occurrence of a character in a string
$ext = strrchr($image_name, '.');
by LRS September 08, 2004