W3cubDocs

/PHP

SphinxClient::open

(PECL sphinx >= 1.0.3)

SphinxClient::openOpens persistent connection to the server

Description

public SphinxClient::open ( ) : bool

Opens persistent connection to the server.

Parameters

This function has no parameters.

Changelog

PECL/sphinx Version Description
PECL sphinx 1.0.3 Added SphinxClient::open(), available only if compiled with libsphinxclient >= 0.9.9.

Return Values

Returns true on success or false on failure.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sphinxclient.open.php