I would like to search for a substring in php so that it will be at the end of the given string. Eg on string 'abd def' if I search for def it would be at the end, so return true. But if I search for abd it will return false since it is not at the end.
Is it possible?