# Memcached::isPristine

(PECL memcached >= 2.0.0)

Memcached::isPristine — Check if the instance was recently created

### 说明

public Memcached::isPristine(): bool

Memcached::isPristine() checks if the Memcache instance was recently created.

### 参数

此函数没有参数。

### 返回值

Returns `true` if instance is recently created, `false` otherwise.

### 参见

- Memcached::isPersistent() - Check if a persitent connection to memcache is being used

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open