You can test format strings in Convert>Tag-Tag
Add apostrophes to escape special characters like /.
Are you sure that it says "last occurrence of string y in string x as the documentation that I see says
$strrchr(x,y) finds the last occurrence of character y in string x.
and there is no function $strrstr().