php8.5
Home/ Manual/ memcached / memcached/ Memcached::isPersistent

Memcached::isPersistent

PHP function Edit on GitHub ✎

(PECL memcached >= 2.0.0)

Check if a persistent connection to memcache is being used

Description

Memcached::isPersistent(): bool

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

Parameters Parameters

Return Values

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

See Also

  • Memcached::isPristine

Source: reference/memcached/memcached/ispersistent.xml · from the official PHP manual (php/doc-en)