Which one of the following functions finds the last occurrence of a string, returning its numerical position?
(a) strlastpos()
(b) strpos()
(c) strlast()
(d) strrpos()
This question was posed to me in a job interview.
This intriguing question comes from Strings and Regular Expressions topic in chapter Strings and Regular Expressions of PHP