public   bool Zookeeper::delete    ( string $path   [, int $version = -1  ] )

Zookeeper::deleteDelete a node in zookeeper synchronously


The name of the node. Expressed as a file name with slashes separating ancestors of the node.


The expected version of the node. The function will fail if the actual version of the node does not match the expected version. If -1 is used the version check will not take place.