TokyoTyrant
PHP Manual

TokyoTyrant::__construct

(PECL tokyo_tyrant >= Unknown)

TokyoTyrant::__constructConstruct a new TokyoTyrant object

Описание

TokyoTyrant::__construct ([ string $host [, string $port [, string $persistent ]]] )

Constructs a new TokyoTyrant object and optionally connects to the database

Параметри

host

The hostname. Default: NULL

port

The hostname. Default: 1978

persistent

Whether to create a persistent connection. Default: TRUE

Връщани стойности

Throws TokyoTyrantException if connection to database fails

Вж. също


TokyoTyrant
PHP Manual