function memcache_clone in Memcache API and Integration 6
Same name in this branch
- 6 memcache.db.inc \memcache_clone()
- 6 memcache.inc \memcache_clone()
Same name and namespace in other branches
- 5 memcache.db.inc \memcache_clone()
- 5 memcache.inc \memcache_clone()
Provide a substitute clone() function for PHP4. This is a copy of drupal_clone because common.inc isn't included early enough in the bootstrap process to be able to depend on drupal_clone.
2 calls to memcache_clone()
- cache_set in ./
memcache.db.inc - Store data in the persistent cache.
- cache_set in ./
memcache.inc - Store data in memcache.
File
- ./
memcache.inc, line 465
Code
function memcache_clone($object) {
return version_compare(phpversion(), '5.0') < 0 ? $object : clone $object;
}