Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method 'set' can only handle string-typed value #46

Open
Timandes opened this issue Apr 22, 2015 · 0 comments
Open

Method 'set' can only handle string-typed value #46

Timandes opened this issue Apr 22, 2015 · 0 comments

Comments

@Timandes
Copy link
Contributor

After i tried this:

<?php
$zk = new Zookeeper("localhost:2181");
$zk->set('/test', array(1));

i got a PHP warning:

PHP Warning:  Zookeeper::set() expects parameter 2 to be string, array given in /home/xxx/zk.php on line 4
PHP Stack trace:
PHP   1. {main}() /home/xxx/zk.php:0
PHP   2. Zookeeper->set() /home/xxx/zk.php:4

Is there any plan to support various types just like Memcached::set?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant