videlalvaro/php-amqplib — pull request #5 by Astrac (2012-01-16 15:11:32+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).