PHP » GoLang |
login |
register |
about
|
Zookeeper::get(PECL zookeeper >= 0.1.0) Zookeeper::get — Gets the data associated with a node synchronously Description
public
string Zookeeper::get
( string
$path
[, callable $watcher_cb = NULL
[, array &$stat = NULL
[, int $max_size = 0
]]] )Parameters
Return ValuesReturns the data on success, and false on failure. Errors/ExceptionsThis method emits PHP error/warning when parameters count or types are wrong or fail to get value from node. Caution
Since version 0.3.0, this method emits ZookeeperException and it's derivatives. ExamplesExample #1 Zookeeper::get() example Get value from node.
<?php The above example will output: nodevalue See Also
|
more
Recently updated
more
Most requested
more
Last requests
|