|
Memcached::setStore an item Beschreibung
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
Parameter-Liste
Rückgabewerte
Gibt bei Erfolg Beispiele
Beispiel #1 Memcached::set example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
int(99)
string(15) "a simple string"
array(2) {
[0]=>
int(11)
[1]=>
int(12)
}
object(stdClass)#1 (0) {
}
Siehe auch
|