php / 8.1.5 / memcached.ispersistent.html /

Memcached::isPersistent

(PECL memcached >= 2.0.0)

Memcached::isPersistentCheck if a persitent connection to memcache is being used

Description

public Memcached::isPersistent(): bool

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

Parameters

This function has no parameters.

Return Values

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

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/memcached.ispersistent.php