SphinxClient::getLastWarning
SphinxClient::query
SphinxClient
PHP Manual

# SphinxClient::open

(PECL sphinx >= 1.0.3)

SphinxClient::open — Opens persistent connection to the server

### Description

public bool SphinxClient::open ( void )

Opens persistent connection to the server.

### Parameters

This function has no parameters.

### Changelog

PECL/sphinx Version | Description
--- | ---
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.

### See Also

- SphinxClient::close

SphinxClient::getLastWarning
SphinxClient::query
SphinxClient
PHP Manual