mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fixed constants: RDB_RECDBL -> RDBREC_DBL, et al.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305906 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f98db0ac3f
commit
ef0ef7d6d4
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@
|
|||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<constant>TokyoTyrant::RDB_RECINT</constant> or <constant>TokyoTyrant::RDB_RECDBL</constant> constant.
|
||||
<constant>TokyoTyrant::RDBREC_INT</constant> or <constant>TokyoTyrant::RDBREC_DBL</constant> constant.
|
||||
If this parameter is omitted the type is guessed from the <parameter>increment</parameter>
|
||||
parameters type.
|
||||
</para>
|
||||
|
@ -76,7 +76,7 @@ $tt = new TokyoTyrant("localhost", TokyoTyrant::RDBDEF_PORT);
|
|||
$tt->add("test", 3);
|
||||
|
||||
/* String value is converted to double */
|
||||
echo $tt->add("test", "3.5", TokyoTyrant::RDB_RECDBL);
|
||||
echo $tt->add("test", "3.5", TokyoTyrant::RDBREC_DBL);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue