©
本文档使用 PHP中文网手册 发布
(PECL memcached >= 0.1.0)
表征到memcached服务集群的连接。
$persistent_id
] )$key
, mixed $value
[, int $expiration
] )$server_key
, string $key
, mixed $value
[, int $expiration
] )$host
, int $port
[, int $weight
= 0
] )$servers
)$key
, string $value
)$server_key
, string $key
, string $value
)$cas_token
, string $key
, mixed $value
[, int $expiration
] )$cas_token
, string $server_key
, string $key
, mixed $value
[, int $expiration
] )$key
[, int $offset
= 1
] )$server_key
, string $key
[, int $offset
= 1
[, int $initial_value
= 0
[, int $expiry
= 0
]]] )$key
[, int $time
= 0
] )$server_key
, string $key
[, int $time
= 0
] )$keys
[, int $time
= 0
] )$server_key
, array $keys
[, int $time
= 0
] )$delay
= 0
] )$key
[, callback $cache_cb
[, float &$cas_token
]] )$server_key
, string $key
[, callback $cache_cb
[, float &$cas_token
]] )$keys
[, bool $with_cas
[, callback $value_cb
]] )$server_key
, array $keys
[, bool $with_cas
[, callback $value_cb
]] )$keys
[, array &$cas_tokens
[, int $flags
]] )$server_key
, array $keys
[, string &$cas_tokens
[, int $flags
]] )$option
)$server_key
)$key
[, int $offset
= 1
] )$server_key
, string $key
[, int $offset
= 1
[, int $initial_value
= 0
[, int $expiry
= 0
]]] )$key
, string $value
)$server_key
, string $key
, string $value
)$key
, mixed $value
[, int $expiration
] )$server_key
, string $key
, mixed $value
[, int $expiration
] )$key
, mixed $value
[, int $expiration
] )$server_key
, string $key
, mixed $value
[, int $expiration
] )$items
[, int $expiration
] )$server_key
, array $items
[, int $expiration
] )$option
, mixed $value
)$options
)$username
, string $password
)$key
, int $expiration
)$server_key
, string $key
, int $expiration
)