略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 范例

2024-12-21

范例

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

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/tokyo-tyrant.examples.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3