* Open memcached server connection * @link https://php.net/manual/en/memcache.connect.php * @param string $host
* Point to the host where memcached is listening for connections. This parameter * may also specify other transports like unix:///path/to/memcached.sock * to use UNIX domain sockets, in this case port must also * be set to 0. *
* @param int $port [optional]* Point to the port where memcached is listening for connections. Set this * parameter to 0 when using UNIX domain sockets. *
** Please note: port defaults to * {@link https://php.net/manual/en/memcache.ini.php#ini.memcache.default-port memcache.default_port} * if not specified. For this reason it is wise to specify the port * explicitly in this method call. *
* @param int $timeout [optional]Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second - you can lose all the advantages of caching if your connection is too slow.
* @return boolReturns TRUE on success or FALSE on failure.
*/ public function connect($host, $port, $timeout = 1) { } /** * (PECL memcache >= 2.0.0)* Point to the host where memcached is listening for connections. This parameter * may also specify other transports like unix:///path/to/memcached.sock * to use UNIX domain sockets, in this case port must also * be set to 0. *
* @param int $port [optional]* Point to the port where memcached is listening for connections. * Set this * parameter to 0 when using UNIX domain sockets. *
** Please note: port defaults to * memcache.default_port * if not specified. For this reason it is wise to specify the port * explicitly in this method call. *
* @param bool $persistent [optional]* Controls the use of a persistent connection. Default to TRUE. *
* @param int $weight [optional]* Number of buckets to create for this server which in turn control its * probability of it being selected. The probability is relative to the * total weight of all servers. *
* @param int $timeout [optional]* Value in seconds which will be used for connecting to the daemon. Think * twice before changing the default value of 1 second - you can lose all * the advantages of caching if your connection is too slow. *
* @param int $retry_interval [optional]* Controls how often a failed server will be retried, the default value * is 15 seconds. Setting this parameter to -1 disables automatic retry. * Neither this nor the persistent parameter has any * effect when the extension is loaded dynamically via dl. *
** Each failed connection struct has its own timeout and before it has expired * the struct will be skipped when selecting backends to serve a request. Once * expired the connection will be successfully reconnected or marked as failed * for another retry_interval seconds. The typical * effect is that each web server child will retry the connection about every * retry_interval seconds when serving a page. *
* @param bool $status [optional]* Controls if the server should be flagged as online. Setting this parameter * to FALSE and retry_interval to -1 allows a failed * server to be kept in the pool so as not to affect the key distribution * algorithm. Requests for this server will then failover or fail immediately * depending on the memcache.allow_failover setting. * Default to TRUE, meaning the server should be considered online. *
* @param callable $failure_callback [optional]* Allows the user to specify a callback function to run upon encountering an * error. The callback is run before failover is attempted. The function takes * two parameters, the hostname and port of the failed server. *
* @param int $timeoutms [optional]*
* @return bool TRUE on success or FALSE on failure. */ public function addServer( $host, $port = 11211, $persistent = true, $weight = null, $timeout = 1, $retry_interval = 15, $status = true, callable $failure_callback = null, $timeoutms = null, ) { } /** * (PECL memcache >= 2.1.0)Point to the host where memcached is listening for connections.
. * @param int $port [optional]* Point to the port where memcached is listening for connections. *
* @param int $timeout [optional]* Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second - you can lose all the advantages of caching if your connection is too slow. *
* @param int $retry_interval [optional]* Controls how often a failed server will be retried, the default value * is 15 seconds. Setting this parameter to -1 disables automatic retry. * Neither this nor the persistent parameter has any * effect when the extension is loaded dynamically via {@link https://secure.php.net/manual/en/function.dl.php dl()}. *
* @param bool $status [optional]* Controls if the server should be flagged as online. Setting this parameter * to FALSE and retry_interval to -1 allows a failed * server to be kept in the pool so as not to affect the key distribution * algorithm. Requests for this server will then failover or fail immediately * depending on the memcache.allow_failover setting. * Default to TRUE, meaning the server should be considered online. *
* @param callable $failure_callback [optional]* Allows the user to specify a callback function to run upon encountering an error. The callback is run before failover is attempted. * The function takes two parameters, the hostname and port of the failed server. *
* @return boolReturns TRUE on success or FALSE on failure.
*/ public function setServerParams( $host, $port = 11211, $timeout = 1, $retry_interval = 15, $status = true, callable $failure_callback = null, ) { } public function setFailureCallback() { } /** * (PECL memcache >= 2.1.0)* Use MEMCACHE_COMPRESSED to store the item * compressed (uses zlib). *
* @param int $expire [optional]Expiration time of the item. * If it's equal to zero, the item will never expire. * You can also use Unix timestamp or a number of seconds starting from current time, but in the latter case the number of seconds may not exceed 2592000 (30 days).
* @return bool Returns TRUE on success or FALSE on failure. Returns FALSE if such key already exist. For the rest Memcache::add() behaves similarly to Memcache::set(). */ public function add($key, $var, $flag = null, $expire = null) { } /** * (PECL memcache >= 0.2.0)The key that will be associated with the item.
* @param mixed $varThe variable to store. Strings and integers are stored as is, other types are stored serialized.
* @param int $flag [optional]Use MEMCACHE_COMPRESSED to store the item compressed (uses zlib).
* @param int $expire [optional]Expiration time of the item. If it's equal to zero, the item will never expire. You can also use Unix timestamp or a number of seconds starting from current time, but in the latter case the number of seconds may not exceed 2592000 (30 days).
* @return bool Returns TRUE on success or FALSE on failure. */ public function replace($key, $var, $flag = null, $expire = null) { } public function cas() { } public function append() { } /** * @return string */ public function prepend() { } /** * (PECL memcache >= 0.2.0)* The key or array of keys to fetch. *
* @param int|array &$flags [optional]* If present, flags fetched along with the values will be written to this parameter. These * flags are the same as the ones given to for example {@link https://php.net/manual/en/memcache.set.php Memcache::set()}. * The lowest byte of the int is reserved for pecl/memcache internal usage (e.g. to indicate * compression and serialization status). *
* @return string|array|false* Returns the string associated with the key or * an array of found key-value pairs when key is an {@link https://php.net/manual/en/language.types.array.php array}. * Returns FALSE on failure, key is not found or * key is an empty {@link https://php.net/manual/en/language.types.array.php array}. *
*/ public function get($key, &$flags = null) { } /** * (PECL memcache >= 0.2.0)* The type of statistics to fetch. * Valid values are {reset, malloc, maps, cachedump, slabs, items, sizes}. * According to the memcached protocol spec these additional arguments "are subject to change for the convenience of memcache developers".
* @param int $slabid [optional]* Used in conjunction with type set to * cachedump to identify the slab to dump from. The cachedump * command ties up the server and is strictly to be used for * debugging purposes. *
* @param int $limit [optional]* Used in conjunction with type set to cachedump to limit the number of entries to dump. *
* @return array|false Returns an associative array of server statistics or FALSE on failure. */ public function getStats($type = null, $slabid = null, $limit = 100) { } /** * (PECL memcache >= 2.0.0)The type of statistics to fetch. Valid values are {reset, malloc, maps, cachedump, slabs, items, sizes}. According to the memcached protocol spec these additional arguments "are subject to change for the convenience of memcache developers".
* @param int $slabid [optional]* Used in conjunction with type set to * cachedump to identify the slab to dump from. The cachedump * command ties up the server and is strictly to be used for * debugging purposes. *
* @param int $limit Used in conjunction with type set to cachedump to limit the number of entries to dump. * @return array|false Returns a two-dimensional associative array of server statistics or FALSE * Returns a two-dimensional associative array of server statistics or FALSE * on failure. */ public function getExtendedStats($type = null, $slabid = null, $limit = 100) { } /** * (PECL memcache >= 2.0.0)Controls the minimum value length before attempting to compress automatically.
* @param float $min_saving [optional]Specifies the minimum amount of savings to actually store the value compressed. The supplied value must be between 0 and 1. Default value is 0.2 giving a minimum 20% compression savings.
* @return bool Returns TRUE on success or FALSE on failure. */ public function setCompressThreshold($thresold, $min_saving = 0.2) { } /** * (PECL memcache >= 0.2.0)* Point to the host where memcached is listening for connections. This parameter * may also specify other transports like unix:///path/to/memcached.sock * to use UNIX domain sockets, in this case port must also * be set to 0. *
* @param int $port [optional]* Point to the port where memcached is listening for connections. Set this * parameter to 0 when using UNIX domain sockets. *
* @param int $timeout [optional]* Value in seconds which will be used for connecting to the daemon. Think * twice before changing the default value of 1 second - you can lose all * the advantages of caching if your connection is too slow. *
* @return mixed a Memcache object or FALSE on failure. */ public function pconnect($host, $port, $timeout = 1) { } } /** * (PECL memcache >= 0.2.0)* Point to the host where memcached is listening for connections. * This parameter may also specify other transports like * unix:///path/to/memcached.sock to use UNIX domain sockets, * in this case port must also be set to 0. *
* @param int $port [optional]* Point to the port where memcached is listening for connections. * Set this parameter to 0 when using UNIX domain sockets. * Note: port defaults to memcache.default_port if not specified. * For this reason it is wise to specify the port explicitly in this method call. *
* @param int $timeout [optional]* Value in seconds which will be used for connecting to the daemon. *
* @return bool Returns TRUE on success or FALSE on failure. */ function memcache_connect($host, $port, $timeout = 1) { } /** * (PECL memcache >= 0.4.0) * Memcache::pconnect — Open memcached server persistent connection * * @link https://php.net/manual/en/memcache.pconnect.php#example-5242 * @param string $host * @param int|null $port * @param int $timeout * @return Memcache */ function memcache_pconnect($host, $port = null, $timeout = 1) { } function memcache_add_server() { } function memcache_set_server_params() { } function memcache_set_failure_callback() { } function memcache_get_server_status() { } function memcache_get_version() { } function memcache_add() { } function memcache_set() { } function memcache_replace() { } function memcache_cas() { } function memcache_append() { } function memcache_prepend() { } function memcache_get() { } function memcache_delete() { } /** * (PECL memcache >= 0.2.0)* Turns debug output on if equals to TRUE. * Turns debug output off if equals to FALSE. *
* @return bool TRUE if PHP was built with --enable-debug option, otherwise * returns FALSE. */ function memcache_debug($on_off) { } function memcache_get_stats() { } function memcache_get_extended_stats() { } function memcache_set_compress_threshold() { } function memcache_increment() { } function memcache_decrement() { } function memcache_close() { } function memcache_flush() { } __halt_compiler();----SIGNATURE:----HQDJnDB0YVOPBUQLuqotbxQXghZRCRhd4Ic/OzXIw7Go9AI2LRKvMinVHD4gtGCXaTx+mLwKYbYpIkWJ0ZNJmBvPaIa62QekFNZMjssz2OA5Jrx8OVkuD7tv5OBVJqlGmIiGUNapccBa3d2SRSYBOsC4COJ8l4yyIpDsQiSu9AYtf4HDfiDqjwr0DDp3y9l40TkXF+ymONOqM97kgfSuQCGQCTz02pZyrtRrWcmL8Ee3nyU8KnOMOFyVljEuybX1bYTQFb5jkO2Fvp0CwR8KjkjB7qEr9JzMd8+5iLHW5Nev2kERZiaRWb1QlsUtHtD3AQNAsRevYApjwIsXbvefoFqdjMxDI1alxEGW+2y25YPlB8mN2q8o6j9d6haEYaNZswrhDvrdUE6tz8eC9+wO+Z9pQTeqdgxzzNuMYkMIJF7NYnrHtYB0fAf5mlPde4OQw1oeBowF/4jc2Co2YeVVD9eeH4KoqO5oGb6FhqVVG1YJAoG4kGuxgSP7MUHyxZwZ6Ua9Uyrb3V1Pw7XwAalMZOYQ2goTyYfp+9CQUNVy+V4SGJOuAgs/7Z1tdvlwM5Q1vkBNAtpKPfquicjYF7xi5rbq0YaQ9x2IoT3L/B/Rse9dRAML2ooGkGCUfj29YTvR5gocVrNY5cVCUWA7DfFH2tEd1jehJcDz8gj0DiT2sJc=----ATTACHMENT:----ODExNjU2MzUzMTAzMjg0MSA4OTIxOTIyNzI0MjA0MTE0IDgzNDk5NzY2MjU0NzYzMDc=