Please wait while we load your page...
 

Announcements

PHP Manual :: Examples



Predefined Constants || TokyoTyrant || tokyo_tyrant || PHP Manual

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


Predefined Constants || TokyoTyrant || tokyo_tyrant || PHP Manual
Live Chat Not Available