PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Gender\Gender::connect

(PECL gender >= 0.6.0)

Gender\Gender::connectConnect to an external name dictionary

说明

public Gender\Gender::connect ( string $dsn ) : bool

Connect to an external name dictionary. Currently only streams are supported.

参数

dsn

DSN to open.

返回值

Boolean as success of failure.