(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrant::__construct — Construct a new TokyoTyrant object
Constructs a new TokyoTyrant object and optionally connects to the database
The hostname. Default: NULL
port number. Default: 1978
Connection options: timeout (default: 5.0), reconnect (default: TRUE) and persistent (default: TRUE)
Throws TokyoTyrantException if connection to database fails