duccio/ApnsPHP — pull request #71 by pmxmatt (2014-10-28 08:54:37+00:00)
Title: Changed strlen for binary data to take into account mbstring.func_overload

The function strlen behaves differently when mbstring.func_overload is enabled for the strlen function.

This was causing the message sending to fail I've updated the code based on the comment from a user on the official documentation http://php.net/manual/en/function.strlen.php#54906 .