videlalvaro/php-amqplib — pull request #4 by Astrac (2012-01-16 14:59:58+00:00)
Title: Replaced all invocations to strlen and substr

This modifications are to make the library compatible with environments in which php has been configured to override string functions with the correspondent mb_string ones (i.e. to force the internal encoding to UTF-8).