«

PHP:Memcached::isPristine()的用法

时间:2024-3-1 21:58     作者:韩俊     分类: PHP


Memcached::isPristine

(PECL memcached >= 2.0.0)

Memcached::isPristine — Check 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::isPersistent() - Check if a persitent connection to memcache is being used

标签: php php教程

热门推荐