tokyo_tyrant
PHP Manual

Exemples

Basic usage

Exemple #1 Putting and getting a key-value pair

<?php
$tt 
= new TokyoTyrant("localhost");
$tt->put("key""value");
echo 
$tt->get("key");
?>

L'exemple ci-dessus va afficher :

value

tokyo_tyrant
PHP Manual