balping commented on code in PR #3109: URL: https://github.com/apache/thrift/pull/3109#discussion_r2008994701
########## lib/php/lib/Transport/TSocket.php: ########## @@ -218,7 +218,7 @@ public function open() throw new TTransportException('Cannot open null host', TTransportException::NOT_OPEN); } - if ($this->port_ <= 0) { + if ($this->port_ <= 0 && substr($this->host_, 0, strlen('unix://')) !== 'unix://') { Review Comment: I changed it to the strpos implementation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@thrift.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org