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