«

PHP:Memcached::isPersistent()的用法

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


Memcached::isPersistent

(PECL memcached >= 2.0.0)

Memcached::isPersistent — Check if a persitent connection to memcache is being used

说明

public bool Memcached::isPersistent
( void
)

Memcached::isPersistent() checks if the connections to the memcache servers are persistent connections.

参数

此函数没有参数。

返回值

Returns true if Memcache instance uses a persistent connection, false otherwise.

参见

Memcached::isPristine() - Check if the instance was recently created

标签: php php教程

热门推荐