THRIFT-2351 PHP TCompactProtocol has fails to decode messages
Patch: Paul Banks
diff --git a/lib/php/lib/Thrift/Protocol/TCompactProtocol.php b/lib/php/lib/Thrift/Protocol/TCompactProtocol.php
index e637a59..880da25 100644
--- a/lib/php/lib/Thrift/Protocol/TCompactProtocol.php
+++ b/lib/php/lib/Thrift/Protocol/TCompactProtocol.php
@@ -387,8 +387,8 @@
     if ($version != TCompactProtocol::VERSION) {
       throw new TProtocolException('Bad version in TCompact message');
     }
-    $result += $this->readVarint($seqId);
-    $name += $this->readString($name);
+    $result += $this->readVarint($seqid);
+    $result += $this->readString($name);
 
     return $result;
   }