... } elseif ($res->cmd == XS_CMD_OK && $res->arg == XS_CMD_OK_RESULT_END) { // got the end // echo "Parsed Query: " . $res->buf . "\n"; break; } else { $msg = 'Unexpected respond in search {CMD:' . $res->cmd . ', ARG:' . $r...
...buf, - 1, 1) === "\n") { break; } } // empty line (end of file) if (empty($line)) { if ($this->inCli) { echo "INFO: reach end of the file, total lines: " . $this->line . "\n"; } return false; } // try to decode the line $this->line+...
...lim)) === false) { if ($this->inCli) { echo "INFO: reach end of file or error occured, total lines: " . $this->line . "\n"; } return false; } $this->line++; if (count($item) === 1 && is_null($item[0])) { if ($this->inCli) { echo "WARNING: in...
...buf, - 1, 1) === "\n") { break; } } // empty line (end of file) if (empty($line)) { if ($this->inCli) { echo "INFO: reach end of the file, total lines: " . $this->line . "\n"; } return false; } // try to decode the line $this->line+...
...} } elseif ($res->cmd == XS_CMD_OK && $res->arg == XS_CMD_OK_RESULT_END) { // got the end break; } else { $msg = 'Unexpected respond in search {CMD:' . $res->cmd . ', ARG:' . $res->arg . '}'; throw new XSException($msg); } } if (...
...lim)) === false) { if ($this->inCli) { echo "INFO: reach end of file or error occured, total lines: " . $this->line . "\n"; } return false; } $this->line++; if (count($item) === 1 && is_null($item[0])) { if ($this->inCli) { echo "WARNING: in...
... XSServer _flag XSServer _project XSServer _sendBuffer XSServer _sock XSServer Public 方法 隐去继承来的方法 名称描述定义于 __construct() 构造函数, 打开连接 XSServer __destruct() 析构函数...