Examples
Basic usage
Example #1 Putting and getting a key-value pair
<?php
$tt = new TokyoTyrant("localhost");
$tt->put("key", "value");
echo $tt->get("key");
?>
The above example will output:
value
|
|
Sponsored Link
Become Zend Certified
Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info... Reference Material
Latest Articles
|
|