$cache = new Memcache; $options = $cache->getCacheSetOptions(); echo "Cache options:"; foreach ($options as $key => $value) { echo "$key = $value"; }In this example, we create a new Memcached object and then call the getCacheSetOptions function on it. We then loop through the options returned and print them out to the screen. Package library: Memcached.