/** * Get information about key * Creation date, modification date, number of hits, size in memory, compressed or not * * @param string $key Key * * @return array Information */ static function info($key) { return self::_info(false, $key); } /** * Get servers addresses * * @return array */ static function getServerAddresses() { global $dPconfig; $conf = $dPconfig["shared_memory_params"]; $servers = preg_split("/\\s*,\\s*/", $conf); $list = array(); foreach ($servers as $_server) { $list[] = explode(":", $_server); } return $list; } } SHM::init();