# SphinxClient::open

(PECL sphinx >= 1.0.3)

SphinxClient::open — Opens 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.

### See Also

- SphinxClient::close