You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding "@" before feof($this->_socket) prevents warning and errors during this function execution from being displayed.
If you need to do that, you should probably implement a better way to qualify and recover from errors, using Exceptions.
protectedfunction connect()
{
if ($this->_socket !== false) {
// we are in persistent connection mode, so we have a socket// however, need to check whether it's still aliveif (!@feof($this->_socket)) {
return$this->_socket;
}
// force reopen$this->_socket = false;
in src/SphinxClient.php, line 605
Posted from SensioLabsInsight
The text was updated successfully, but these errors were encountered: