php-zookeeper
php-zookeeper copied to clipboard
Method 'set' can only handle string-typed value
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?