You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?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?
The text was updated successfully, but these errors were encountered:
After i tried this:
i got a PHP warning:
Is there any plan to support various types just like Memcached::set?
The text was updated successfully, but these errors were encountered: