Thrift: Fix PHP socket fread return
authorMark Slee <mcslee@apache.org>
Tue, 21 Nov 2006 02:01:22 +0000 (02:01 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 21 Nov 2006 02:01:22 +0000 (02:01 +0000)
commite598d075f55af8db87ff1963c330e9ca7cc95b9e
treebb0c4124ed27a52738965b7c27cb3fd0516a38f7
parent216e7d6a9a7d061cdfd91b56db4ec2985cb4096e
Thrift: Fix PHP socket fread return

Summary: If you read the string "0" then it treats that as false, so we have to check for both === false and === '' manually.

Reviewed By: martin

Notes: I hate php

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664878 13f79535-47bb-0310-9956-ffa450edef68
lib/php/src/transport/TSocket.php