I do not have PHP 5, so I cannot use strrpos().

Does anyone have a code snippet to find the last occurrence of a string in a string for pre-PHP5?