| PHP » GoLang | login |
            register |
            
            about | 
| 
                             Zookeeper::set(PECL zookeeper >= 0.1.0) Zookeeper::set — Sets the data associated with a node Description
   public
   bool Zookeeper::set
    ( string  $path, string$value[, int$version= -1
   [, array&$stat=NULL]] )Parameters
 Return Values
   Returns  Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to save value to node. Caution
     Since version 0.3.0, this method emits ZookeeperException and it's derivatives. ExamplesExample #1 Zookeeper::set() example Save value to node. 
<?phpThe above example will output: SUCCESS See Also
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |