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
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top