THRIFT-718. php: Thrift PHP library includes closing tags and extraneous whitespace This patch trims closing tags to avoid potential for whitespace. Patch: Nicholas Telford