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

Gender\Gender::__construct

(PECL gender >= 0.6.0)

Gender\Gender::__constructConstruct the Gender object

说明

public Gender\Gender::__construct ([ string $dsn ] )

Create a Gender object optionally connecting to an external name dictionary. When no external database was given, compiled in data will be used.

参数

dsn

DSN to open.

返回值