|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59389 put() casts its 1st arg to string
Submitted: 2010-08-27 09:08 UTC Modified: 2010-08-28 06:49 UTC
From: anon at domain dot tld Assigned:
Status: Closed Package: tokyo_tyrant (PECL)
PHP Version: 5.3.2 OS: CentOS 5.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: anon at domain dot tld
New email:
PHP Version: OS:


 [2010-08-27 09:08 UTC] anon at domain dot tld
TokyoTyrant::put() casts its 1st argument to string.

Reproduce code:

$tt = new TokyoTyrant($addr, $port);
$key = 1;
$tt->put($key, 'value');
echo gettype($key);

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-28 06:49 UTC]
Fixed in git master and should be in the next release.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 00:01:24 2021 UTC