facebook/hiphop-php — pull request #1031 by javer (2013-09-06 12:36:48+00:00)
Title: Improve substr zend compatibility

Fixed issues with negative and out of bounds start position and length.