Memcached
PHP Manual

Memcached::isPristine

(PECL memcached >= 2.0.0)

Memcached::isPristineCheck if the instance was recently created

说明

public bool Memcached::isPristine ( void )

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

参数

此函数没有参数。

返回值

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

参见


Memcached
PHP Manual