# EventBufferEvent::sslGetCipherVersion

(PECL event >= 1.10.0)

EventBufferEvent::sslGetCipherVersion — Returns version of cipher used by current SSL connection

### Descripción

public EventBufferEvent::sslGetCipherVersion(): string

Retrieves version of cipher used by current SSL connection.

> Nota:

> This function is available only if `Event` is compiled with OpenSSL support.

### Parámetros

Esta función no tiene parámetros.

### Valores devueltos

Returns the current cipher version of the SSL connection, or `false` on error.