|
TokyoTyrant::connect(PECL tokyo_tyrant >= 0.1.0) TokyoTyrant::connect — Connect to a database Описание
public TokyoTyrant TokyoTyrant::connect
( string $host
[, int $port = TokyoTyrant::RDBDEF_PORT
[, array $options
]] )
Connects to a remote database Список параметров
Возвращаемые значенияThis method returns the current object and throws TokyoTyrantException on failure. Примеры
Пример #1 TokyoTyrant::connect() example
<?php |
|