Zend-compatibility - strrchr

The contract for `strrchr` is "If needle contains more than one character, only the first is used". The implementation was using `strrpos` which scans for the entire string, not just the first character, resulting in an incompatibility. This PR request resolves that incompatibility.