|
Memcached::setStore an item Description
public bool Memcached::set
( string
$key
, mixed $value
[, int $expiration
] )
Memcached::set stores the
The value can be any valid PHP type except for resources, because those
cannot be represented in a serialized form. If the
Parameters
Return Values
Returns Examples
Example #1 Memcached::set example
<?php The above example will output something similar to: int(99) string(15) "a simple string" array(2) { [0]=> int(11) [1]=> int(12) } object(stdClass)#1 (0) { } See Also
|