PHP - Manual: 范例
2024-11-13
Basic usage
Example #1 Putting and getting a key-value pair
<?php
$tt = new TokyoTyrant("localhost");
$tt->put("key", "value");
echo $tt->get("key");
?>
以上例程会输出:
value
官方地址:https://www.php.net/manual/en/tokyo-tyrant.examples.php