Chmpx::__construct
Creates a Chmpx instance
Description
public Chmpx::__construct ()
Creates a Chmpx instance.
Parameters
No parameters required.
Examples
$ php -r 'var_dump(new Chmpx());'
The above example will output something similar to:
object(Chmpx)#1 (2) {
["chmpx_handle":"Chmpx":private]=>
resource(4) of type (chmpx_handle)
["is_server_mode":"Chmpx":private]=>
resource(5) of type (is_server_mode)
}
See Also
- Chmpx::createServer - Creates a ChmpxServer instance
- Chmpx::createSlave - Creates a ChmpxSlave instance
- Chmpx::getChmpxSlave - Retrieves the ChmpxSlave instance
- Chmpx::getChmpxServer - Retrieves the ChmpxServer instance