Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Memcached::incrementByKeyMemcached::isPristine>
^MemcachedLast updated: Mon, 26 Oct 2026

Memcached::isPersistent

(PECL memcached >= 2.0.0)

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

Description

public function 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


<Memcached::incrementByKeyMemcached::isPristine>
^MemcachedLast updated: Mon, 26 Oct 2026