downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

TokyoTyrant::stat> <TokyoTyrant::setMaster
[edit] Last updated: Fri, 17 May 2013

view this page in

TokyoTyrant::size

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrant::sizeReturns the size of the value

Descrizione

public int TokyoTyrant::size ( string $key )

Returns the size of a value by key

Elenco dei parametri

key

The key of which size to fetch

Valori restituiti

Returns the size of the key or throw TokyoTyrantException on error

Esempi

Example #1 TokyoTyrant::size() example

<?php
$tt 
= new TokyoTyrant("localhost");

$tt->put("test_key""12345");

echo 
$tt->size("test_key");
?>

Il precedente esempio visualizzerĂ :

5



add a note add a note User Contributed Notes TokyoTyrant::size - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites