Chmpx::createSlave Chmpx Class Chmpx::isRunning

Chmpx::destroy

Destroys a Chmpx instance

Description

public function destroy(): bool

Destroys a Chmpx instance.

Parameters

Return Values

Returns true on success or false on failure.

Examples

php -r '$chmpx = new Chmpx(); $chmpx->createServer("./tests/server.yaml", true); var_dump($chmpx->destroy());'

The above example will output:

bool(true)

See Also

Chmpx::createSlave Chmpx Class Chmpx::isRunning