facebook/hhvm — pull request #1394 by bdurette (2013-12-20 03:09:00+00:00)
Title: 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.