Thrift-1427: PHP library uses non-multibyte safe functions with mbstring function...
authorJake Farrell <jfarrell@apache.org>
Tue, 29 Nov 2011 16:45:51 +0000 (16:45 +0000)
committerJake Farrell <jfarrell@apache.org>
Tue, 29 Nov 2011 16:45:51 +0000 (16:45 +0000)
commitb03a59cc5c3e71c74c6d374e67bd45de6b270eea
tree60a98a8f6ecd22d87af8be66a292b09a446d1846
parent828789580b253522c5bddb76d82ee8ab4e98d74a
Thrift-1427: PHP library uses non-multibyte safe functions with mbstring function overloading
Client: php
Patch: Bryan Alves

Fixes issue with php overloaded mbstring to be binary-safe for strlen and substr.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1207960 13f79535-47bb-0310-9956-ffa450edef68
lib/php/src/TStringUtils.php [new file with mode: 0644]
lib/php/src/Thrift.php
lib/php/src/protocol/TBinaryProtocol.php
lib/php/src/protocol/TCompactProtocol.php
lib/php/src/transport/TBufferedTransport.php
lib/php/src/transport/TFramedTransport.php
lib/php/src/transport/THttpClient.php
lib/php/src/transport/TMemoryBuffer.php
lib/php/src/transport/TPhpStream.php
lib/php/src/transport/TSocket.php
lib/php/src/transport/TTransport.php